wikijs-fork/server/extensions/renderer/markdown/footnotes.js

16 lines
306 B
JavaScript
Raw Normal View History

const mdFootnote = require('markdown-it-footnote')
// ------------------------------------
// Markdown - Footnotes
// ------------------------------------
module.exports = {
key: 'markdown/footnotes',
title: 'Footnotes',
dependsOn: [],
props: [],
init (md, conf) {
md.use(mdFootnote)
}
}