Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
x/playground: Please bring color and editor to playground #34227
This was asked in the past. The most relevant discussion is at #28539.
To sum it up:
Essentially: it appears that adding syntax colouring for the playground would be okay, but someone needs to do the work and without using a beefy 3rd party lib like the one the tour uses.
I think we could base ourselves on MicroLight: https://asvd.github.io/microlight/ , but change it so it recognises Go code only specifically. This also has the advantage that it highlights syntax without using color, only using font effects or a literal highlight effect.