fix: md task list - use same config as client
This commit is contained in:
parent
dbd7c268c3
commit
afafb4f4e0
@ -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…
Reference in New Issue
Block a user