wikijs-fork/server/modules/rendering/markdown-multi-table/renderer.js

12 lines
251 B
JavaScript
Raw Normal View History

const multiTable = require('markdown-it-multimd-table')
module.exports = {
init (md, conf) {
md.use(multiTable, {
multiline: conf.multilineEnabled,
rowspan: conf.rowspanEnabled,
headerless: conf.headerlessEnabled
})
}
}