You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GitHub passes blocks marked with ```math to the math rendering engine:
$$E = mc^2$$
Slidev expects math blocks to be marked with $$. GitHub recognizes that syntax, too, but I have a lot of pre-existing *.md that use the other convention.
Is there a method to get slidev to parse ```math blocks? I have fooled around with @slidev/client/setup/preparser.ts but I cannot get past
[vite] (client) Pre-transform error: Language `math` not found, you may need to load it first`
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
GitHub passes blocks marked with
```math
to the math rendering engine:Slidev expects math blocks to be marked with
$$
. GitHub recognizes that syntax, too, but I have a lot of pre-existing*.md
that use the other convention.Is there a method to get slidev to parse
```math
blocks? I have fooled around with@slidev/client/setup/preparser.ts
but I cannot get pastBeta Was this translation helpful? Give feedback.
All reactions