feat: page display + renderers reorg

This commit is contained in:
Nicolas Giard committed 2018-08-20 01:02:57 -04:00
1 parent 4bb522f9d9
commit db8e598e9a
36 files changed
+241 -52

No files matched your search

@@ -0,0 +1,7 @@
key: markdownMathjax
title: Mathjax Pre-Processor
description: Pre-parse TeX blocks for Mathjax
author: requarks.io
dependsOn:
- markdownCore
props: {}
@@ -0,0 +1,15 @@
const mdMathjax = require('markdown-it-mathjax')()
// ------------------------------------
// Markdown - Mathjax Preprocessor
// ------------------------------------
module.exports = {
key: 'markdown/mathjax',
title: 'Mathjax Preprocessor',
dependsOn: [],
props: [],
init (md, conf) {
md.use(mdMathjax)
}
}