Re:Dev Fonts
by kxrm on Friday November 20, 2020 @05:35AM
(#25159137)
What exactly is "Language" supposed to do? When I change it, it seems to only change the theme of the code, not the actual code itself.
[ Parent
| on HN ]
It changes the syntax highlighting rules to reflect the specified language.
Like you, I would have expected it to also update the example code to show the actual language.
Re:Dev Fonts
by krishan711 on Friday November 20, 2020 @05:42AM
(#25159163)
It's the syntax highlighting (you can copy paste your own code over the code thats there)
And apply that to all the font previews with the option 'Copy code to all'
The language selector doesn't seem to work correctly. I chose "Elixir", entered some elixir code but no highlighting was applied. Seems the highlighting library it's using is a bit iffy.