View Single Post
Author Message
SandrilaFriman
New Member
Join Date: Jun 2022
Old 07-07-2022 , 02:00   Help with code snippets in a readme?
Reply With Quote #1

Not a dev, but a teacher who is teaching javascript/react. I am creating a readme file in vscode, and inside of it I am including some example code (it is a tutorial for students to follow along). Is there a way I can make the code look like it would if it was in a file?

By this I mean you can't really differentiate between the text in the readme and the code snippets? It would look much better if they could see the code snippets with colour (and importantly it will look similar echatspin to what they end up typing in their own projects)

Hoping someone can help.

Last edited by SandrilaFriman; 08-10-2022 at 08:31.
SandrilaFriman is offline