Skip to content

Comment on Font with Built-In Syntax Highlighting (2024)parent

Comments

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.

I think you're seriously confused or purposefully trolling. That's not the web component I'm talking about, that's just plain html.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.