fix: md task list - use same config as client

pull/5021/head
NGPixel 3 years ago
parent dbd7c268c3
commit afafb4f4e0
No known key found for this signature in database
GPG Key ID: 8FDA2F1757F60D63

@ -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)

@ -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 })
}
}

Loading…
Cancel
Save