DEV Community

Discussion on: Stop Using "data" as a Variable Name

Collapse
 
roshan_100kar profile image
Roshan Shambharkar

how to use code editor in this post i also want to post some content on dev.to but i can not see code editor option in my writer a post section

Collapse
 
dcwither profile image
Devin Witherspoon

I actually have a template comment for this!

Hey, thanks for sharing! BTW, you can tag code blocks with a language to get syntax highlighting by adding the language extension (e.g. js, c, cpp, java) after the the first three backticks.
sample react component wrapped in backticks with javascript syntax highlighting