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

12 lines
263 B
JavaScript
Raw Normal View History

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