logoalt Hacker News

california-ogyesterday at 12:54 AM1 replyview on HN

That's for the code-editor webcomponent, the rest of the site doesn't use JS.


Replies

TheRealPomaxyesterday at 1:06 AM

Correct. The code editor that has the subscript: "The colors in the HTML snippet above comes from within the font itself, the code is plain text, and requires no JavaScript."

Which doesn't work without JS. So adding the @font-face to the page itself, so that things works even without JS, would be lovely.

show 1 reply