M2 icon indicating copy to clipboard operation
M2 copied to clipboard

Syntax highlighting in packages

Open mahrud opened this issue 1 year ago • 5 comments

A pretty glaring caveat of syntax highlighting is that it doesn't work for packages. Here's an example with only symbols from Core being highligted, which looks really odd.

A pretty simple solution would be to generate a prism grammar for each package in installPackage and load it in the header of html files from that package.

It would be great if the same worked for emacs.

mahrud avatar Jun 25 '24 05:06 mahrud