Raised This Month: $51 Target: $400
 12% 

Help with code snippets in a readme?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode