Hello, thanks for sharing. 👍
If you would like to add syntax coloring to your code:
Markdown - how to make blocks of React code (syntax highlighting - github, dev.to)
I personally struggeled with this.
At the beginning of the src code line after 3 x the grave accent sign, we need to add jsx.
This is React code sample:
import React from "react"; const App = () => { return ( <div> <h1>My App</h1> </div> ); }; export default App;
Thanks for your suggestion. It will definitely improve the readability of the code!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hello, thanks for sharing. 👍
If you would like to add syntax coloring to your code:
Markdown - how to make blocks of React code (syntax highlighting - github, dev.to)
I personally struggeled with this.
At the beginning of the src code line after 3 x the grave accent sign, we need to add jsx.
This is React code sample:
Thanks for your suggestion. It will definitely improve the readability of the code!