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

12 lines
267 B
JavaScript

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