wikijs-fork/server/modules/rendering/markdown-tasklists/renderer.js
2018-11-23 21:10:24 -05:00

12 lines
263 B
JavaScript

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