Thank You! Try using VS Code and install an extension called 'Babel JavaScript' or 'ES7 React/Redux/GraphQL/React-Native snippets'. This must give you the coloured syntax.
I mean here, while writing a post on dev.to, after including code in here, it shows uncolored syntax. But how did you get colored one? Which tags did you use to include the code?
Oh sorry about that. Just before your code starts use triple backticks and then mention the language of the code being used. Finally when the code ends, again use triple backticks.
Thank You! Try using VS Code and install an extension called 'Babel JavaScript' or 'ES7 React/Redux/GraphQL/React-Native snippets'. This must give you the coloured syntax.
I mean here, while writing a post on dev.to, after including code in here, it shows uncolored syntax. But how did you get colored one? Which tags did you use to include the code?
Oh sorry about that. Just before your code starts use triple backticks and then mention the language of the code being used. Finally when the code ends, again use triple backticks.
To get complete details check out: github.com/adam-p/markdown-here
Thanks. I got it.😁
Your welcome!😊