DEV Community


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

roshan_100kar profile image

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

dcwither profile image
Devin Witherspoon Author

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