fix$(extensions): move katex a priority higher
This commit is contained in:
parent
9809685e53
commit
218cb99920
@ -6,7 +6,7 @@ extensionSvc.onGetOptions((options, properties) => {
|
||||
options.math = properties.extensions.katex.enabled;
|
||||
});
|
||||
|
||||
extensionSvc.onInitConverter(2, (markdown, options) => {
|
||||
extensionSvc.onInitConverter(3, (markdown, options) => {
|
||||
if (options.math) {
|
||||
markdown.use(markdownItMath);
|
||||
markdown.renderer.rules.inline_math = (tokens, idx) =>
|
||||
|
Loading…
Reference in New Issue
Block a user