renderer.js 235 B

1234567891011
  1. const mdMathjax = require('markdown-it-mathjax')()
  2. // ------------------------------------
  3. // Markdown - Mathjax Preprocessor
  4. // ------------------------------------
  5. module.exports = {
  6. init (md, conf) {
  7. md.use(mdMathjax)
  8. }
  9. }