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

12 lines
225 B
JavaScript
Raw Permalink Normal View History

const mdFootnote = require('markdown-it-footnote')
// ------------------------------------
// Markdown - Footnotes
// ------------------------------------
module.exports = {
init (md, conf) {
md.use(mdFootnote)
}
}