Comment on Font with Built-In Syntax Highlighting (2024)Comments−vbezhenar8moSo script inside web page is bad, but script inside font is good? That's interesting definition of bloat. I'd prefer ordinary webpage using locally installed fonts with explicit JavaScript snippet to highlight keywords.−benrutter8moUnless I missed it, the OP doesn't quote reducing bloat as a motivation- more just working without javascript.I took it to be along the lines of an "easier to work with" type motivation, rather than reducing package sizes.−blauditore8moIs it really a script though? IIUC it's more like contextual declaration (e.g. of previous char is X, then use style Y), no?−WesolyKubeczek8moRemember llama.otf?−zappchance8mollama.ttfhttps://fuglede.github.io/llama.ttf
Comments
So script inside web page is bad, but script inside font is good? That's interesting definition of bloat. I'd prefer ordinary webpage using locally installed fonts with explicit JavaScript snippet to highlight keywords.
Unless I missed it, the OP doesn't quote reducing bloat as a motivation- more just working without javascript.
I took it to be along the lines of an "easier to work with" type motivation, rather than reducing package sizes.
Is it really a script though? IIUC it's more like contextual declaration (e.g. of previous char is X, then use style Y), no?
Remember llama.otf?
llama.ttf
https://fuglede.github.io/llama.ttf