Styling - use 2-char classes for programming languages in css
Closed this issue · 1 comments
The sole motivation for this change is to reduce the clutter in the Html, to make it easier for task authors to read and write the html.
Currently, the html classes used to distinguish languages are csharp
, vb
and python
. I want to ultimately standardise on cs
, vb
, py
, hs
. (Not really important for ARM because an ARM task will not include code for other languages - so will leave the class as arm
for now).
Should not require any change to code - just to .css
file(s) and to the CSS Style
property in the Language
instances on database.
To ease transition, I propose to make it work with either option for the time being, so that e.g. the CSS style for Python will be python py
Completed. Css fields on Languages Production Db has been changed as this is non-breaking.