News for hackers. Stuff that matters.
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.
Re:Dev Fonts by ldjb on Friday November 20, 2020 @05:41AM (#25159160)
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)
Re:Dev Fonts by osxman on Friday November 20, 2020 @06:10AM (#25159321)
And apply that to all the font previews with the option 'Copy code to all'
Re:Dev Fonts by 1_player on Friday November 20, 2020 @07:11AM (#25159697)
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.
Re:Dev Fonts by osxman on Friday November 20, 2020 @06:10AM (#25159317)
And apply that to all the font previews with the option 'Copy code to all'