HLSL #define not highlighted right (... or indeed overhighlighted): uniform .token.property applies, washing out the expression · Issue #3881 · PrismJS/prism · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is fully washed-out: the macro content has lost all high-lighting (by virtue of uint4 being the same colour as everything else), and the macro name is high-lighted as-if it were a keyword but it's a variable (Prism.js variables are unhighlighted in general).
GitHub does a passable job of highlighting this correctly, here's a mock-up of how it makes sense, to high-light it, too me:
Uh oh!
There was an error while loading. Please reload this page.
Information
Description
(Twilight theme)
This is fully washed-out: the macro content has lost all high-lighting (by virtue of uint4 being the same colour as everything else), and the macro name is high-lighted as-if it were a keyword but it's a variable (Prism.js variables are unhighlighted in general).
GitHub does a passable job of highlighting this correctly, here's a mock-up of how it makes sense, to high-light it, too me:

Code snippet
Test page
The text was updated successfully, but these errors were encountered: