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