Closed piotmag769 closed 3 months ago
This can also be added by defining a language for https://highlightjs.org/ - it's the mechanism that mdbook uses for syntax highlighting. We could use fork rust definition and modify it for cairo (shouldn't be too much of a problem), and then integrate it into mdbook - see example implementation
https://highlightjs.readthedocs.io/en/latest/language-guide.html
We can see how
cairo-book
did it, tagged with// TODO(#1457