typst wrong syntax highlighting
#1302
l0uisgrange
started this conversation in
^ Lexer Requests and Bugs
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Is there an existing issue for this?
Describe the bug
Hey there 👋, thanks @alecthomas for this package!
The syntax highlighting for the
typstlanguage is not correct: the grammar needs to be updated. Here's a comparison with the current GitHub highlighting to demonstrate the issue visually.I've not found the correct grammar as
xml, but found this injsonand also this one from Shiki.js if that helps.To Reproduce
Here is the reproduction.
All reactions