feat: support MultiMarkdown tables (#2126)
This commit is contained in:
11
server/modules/rendering/markdown-multi-table/renderer.js
Normal file
11
server/modules/rendering/markdown-multi-table/renderer.js
Normal file
@@ -0,0 +1,11 @@
|
||||
const multiTable = require('markdown-it-multimd-table')
|
||||
|
||||
module.exports = {
|
||||
init (md, conf) {
|
||||
md.use(multiTable, {
|
||||
multiline: conf.multilineEnabled,
|
||||
rowspan: conf.rowspanEnabled,
|
||||
headerless: conf.headerlessEnabled
|
||||
})
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user