tinymist
tinymist copied to clipboard
Annotate code example as Typst code
Motivation
Annotating code snippets as Typst code in Markdown docs would make them correctly highlighted by Treesitter’s injection queries.
Description
I use Helix and currently when requesting docs for an item, code snippets inside aren’t highlighted as Typst code. I do not know whether the issue is with annotating the code or something else, but I suppose it is something in that vein. When writing Markdown and including a Typst snippet, it is correctly highlighted for example.
Examples/Questions
Hover Docs | Markdown |
---|---|