M2
M2 copied to clipboard
Syntax highlighting in packages
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.