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(underline)
|
||||||
.use(mdEmoji)
|
.use(mdEmoji)
|
||||||
.use(mdTaskLists, {label: false, labelAfter: false})
|
.use(mdTaskLists, { label: false, labelAfter: false })
|
||||||
.use(mdExpandTabs)
|
.use(mdExpandTabs)
|
||||||
.use(mdAbbr)
|
.use(mdAbbr)
|
||||||
.use(mdSup)
|
.use(mdSup)
|
||||||
.use(mdSub)
|
.use(mdSub)
|
||||||
.use(mdMultiTable, {multiline: true, rowspan: true, headerless: true})
|
.use(mdMultiTable, { multiline: true, rowspan: true, headerless: true })
|
||||||
.use(mdMark)
|
.use(mdMark)
|
||||||
.use(mdFootnote)
|
.use(mdFootnote)
|
||||||
.use(mdImsize)
|
.use(mdImsize)
|
||||||
|
@ -6,6 +6,6 @@ const mdTaskLists = require('markdown-it-task-lists')
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
init (md, conf) {
|
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