feat: mathjax markdown module

This commit is contained in:
NGPixel
2020-04-29 22:30:56 -04:00
parent 662ebccd22
commit 281172a9f4
7 changed files with 248 additions and 128 deletions

View File

@@ -36,7 +36,7 @@ module.exports = {
for (let child of this.children) {
const renderer = require(`../${_.kebabCase(child.key)}/renderer.js`)
renderer.init(mkdown, child.config)
await renderer.init(mkdown, child.config)
}
return mkdown.render(this.input)