wikijs-fork/server/extensions/renderer/markdown/tasks-lists.js

16 lines
313 B
JavaScript
Raw Normal View History

const mdTaskLists = require('markdown-it-task-lists')
// ------------------------------------
// Markdown - Task Lists
// ------------------------------------
module.exports = {
key: 'markdown/task-lists',
title: 'Task Lists',
dependsOn: [],
props: [],
init (md, conf) {
md.use(mdTaskLists)
}
}