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

12 lines
235 B
JavaScript
Raw Normal View History

const mdMathjax = require('markdown-it-mathjax')()
// ------------------------------------
// Markdown - Mathjax Preprocessor
// ------------------------------------
module.exports = {
init (md, conf) {
md.use(mdMathjax)
}
}