Skip to content

Commit

Permalink
fix: update list of tags used by Katex (#494)
Browse files Browse the repository at this point in the history
  • Loading branch information
twitwi committed Feb 22, 2022
1 parent 361a2d0 commit 47c3749
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions packages/slidev/node/plugins/preset.ts
Expand Up @@ -21,22 +21,31 @@ const customElements = new Set([
// katex
'annotation',
'math',
'mrow',
'mcol',
'menclose',
'mfrac',
'mglyph',
'mi',
'mlabeledtr',
'mn',
'mo',
'mover',
'mpadded',
'mphantom',
'mroot',
'mrow',
'mspace',
'msqrt',
'mstyle',
'msub',
'msubsup',
'msup',
'mtable',
'mtd',
'msup',
'msqrt',
'mtext',
'mtr',
'munder',
'munderover',
'semantics',
'mstyle',
'mtext',
])

export async function ViteSlidevPlugin(
Expand Down

0 comments on commit 47c3749

Please sign in to comment.