Skip to content

Commit

Permalink
feat(plugin-markdown-math): add macros option for katex by default, c…
Browse files Browse the repository at this point in the history
…lose #261
  • Loading branch information
Mister-Hope committed Sep 23, 2024
1 parent f976a5c commit c5568ca
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export const markdownMathPlugin = ({
}`,
)
},
macros: {},
...options,
transformer: (content: string) =>
content.replace(/^(<[a-z]+ )/g, '$1v-pre '),
Expand Down

0 comments on commit c5568ca

Please sign in to comment.