Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Syntax highlighting ‘specificity’ lower compared to text editors #6088
As you can see, the output from Hugo/Chroma is limited in terms of how many different ‘elements’ it recognises.
This is confirmed by using the option
This issue is even more striking if you use some other language like R, which looks like there's no syntax highlighting at all… :(
Is it possible to set up Hugo/Chroma to differentiate between such elements and assign them different classes, please?