wikijs-fork/server/modules/rendering/markdown-tasklists/renderer.js

12 lines
267 B
JavaScript
Raw Permalink Normal View History

const mdTaskLists = require('markdown-it-task-lists')
// ------------------------------------
// Markdown - Task Lists
// ------------------------------------
module.exports = {
init (md, conf) {
md.use(mdTaskLists, { label: false, labelAfter: false })
}
}