diff --git a/plugins/markdown/plugin-markdown-math/src/node/markdownMathPlugin.ts b/plugins/markdown/plugin-markdown-math/src/node/markdownMathPlugin.ts index e0705c4ecc..fb8ffeb7d2 100644 --- a/plugins/markdown/plugin-markdown-math/src/node/markdownMathPlugin.ts +++ b/plugins/markdown/plugin-markdown-math/src/node/markdownMathPlugin.ts @@ -105,6 +105,7 @@ export const markdownMathPlugin = ({ }`, ) }, + macros: {}, ...options, transformer: (content: string) => content.replace(/^(<[a-z]+ )/g, '$1v-pre '),