feat: rendering pipeline logic
This commit is contained in:
1 parent
0b93544677
commit
09d1f580d9
39 files changed
+210
-86
No files matched your search
@@ -0,0 +1,8 @@
|
||||
key: markdownMathjax
|
||||
title: Mathjax Pre-Processor
|
||||
description: Pre-parse TeX blocks for Mathjax
|
||||
author: requarks.io
|
||||
icon: functions
|
||||
enabledDefault: false
|
||||
dependsOn: markdownCore
|
||||
props: {}
|
||||
@@ -0,0 +1,11 @@
|
||||
const mdMathjax = require('markdown-it-mathjax')()
|
||||
|
||||
// ------------------------------------
|
||||
// Markdown - Mathjax Preprocessor
|
||||
// ------------------------------------
|
||||
|
||||
module.exports = {
|
||||
init (md, conf) {
|
||||
md.use(mdMathjax)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user