renderer.js 235 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
const mdMathjax = require('markdown-it-mathjax')()

// ------------------------------------
// Markdown - Mathjax Preprocessor
// ------------------------------------

module.exports = {
  init (md, conf) {
    md.use(mdMathjax)
  }
}