wikijs-fork/server/modules/rendering/markdown-mathjax/renderer.js
2018-09-09 20:33:10 -04:00

12 lines
235 B
JavaScript

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