fix: md task list - use same config as client

This commit is contained in:
NGPixel 2022-02-12 17:27:54 -05:00
parent dbd7c268c3
commit afafb4f4e0
No known key found for this signature in database
GPG Key ID: 8FDA2F1757F60D63
2 changed files with 3 additions and 3 deletions

View File

@ -290,12 +290,12 @@ const md = new MarkdownIt({
})
.use(underline)
.use(mdEmoji)
.use(mdTaskLists, {label: false, labelAfter: false})
.use(mdTaskLists, { label: false, labelAfter: false })
.use(mdExpandTabs)
.use(mdAbbr)
.use(mdSup)
.use(mdSub)
.use(mdMultiTable, {multiline: true, rowspan: true, headerless: true})
.use(mdMultiTable, { multiline: true, rowspan: true, headerless: true })
.use(mdMark)
.use(mdFootnote)
.use(mdImsize)

View File

@ -6,6 +6,6 @@ const mdTaskLists = require('markdown-it-task-lists')
module.exports = {
init (md, conf) {
md.use(mdTaskLists, {label: true, labelAfter: true})
md.use(mdTaskLists, { label: false, labelAfter: false })
}
}