3 ms·
> for some reason not immediately apparent to me The CSS that sets the background of the code elements (so they properly cover up the ones under them) is attac
by bhaney 3y ago
> for some reason not immediately apparent to me
The CSS that sets the background of the code elements (so they properly cover up the ones under them) is attached to the hljs class, which is added to those elements by highlight.js.
No JS > no classname added > no background style > jank
- tavianator 3y agoThanks for pointing this out to me! I'll see if I can pre-render the syntax highlighting like I do with KaTeX and stuff. No reason to do that on the client.