feat: save rendering configuration

This commit is contained in:
NGPixel
2019-12-21 16:41:03 -05:00
parent 9166e27e87
commit 3b347f262c
8 changed files with 34 additions and 121 deletions

View File

@@ -1,8 +0,0 @@
key: markdownMathjax
title: Mathjax Preprocessor
description: Prepare TeX blocks for Mathjax
author: requarks.io
icon: mdi-function-variant
enabledDefault: false
dependsOn: markdownCore
props: {}

View File

@@ -1,11 +0,0 @@
const mdMathjax = require('markdown-it-mathjax')()
// ------------------------------------
// Markdown - Mathjax Preprocessor
// ------------------------------------
module.exports = {
init (md, conf) {
md.use(mdMathjax)
}
}