Josh Goebel
Josh Goebel
Would anyone here like to pick up this issue and build a fix?
When you say symbol do you mean `operator`? If so we'd do this by first putting all the operators (including multi-character ones like `!=`) into an array then using our...
I cleaned up the PR a bit to better match our coding standards... but I think the reason this hasn't been done before if the issue with `
So sorry I forgot to push the main file that does the linking... if pull and build it should work now.
@allejo Any thoughts on whether it might be OK to just accept that `` as part of templates are going to be highlighted as operators (because it's too hard to...
Probably need to push a proper `CLASS_NAME_RE` down into `css-shared.js` where it can then be shared with all the css-like grammars. Anyone wanting to pick this up will need to...
`highlight(code, {language: "html"}) ` (or the dynamic equivalent) should work fine if XML is already registered - you only need to know the alias... or are you saying you're trying...
I don't think this makes sense in the core no-grammars `highlight.js` library file - since that core includes no grammars - and when you build with bundled grammars this information...
We can't use negative lookahead until v12 though because it's a breaking change. And I don't have a timetable on that yet.
> ... sounds like I would need to build each grammar The build system does this already. > extract the aliases, and build the file? Yep. But extraction requires executing...