DEV Community

Discussion on: Downloading and Displaying a file in React Native

amankumarsingh01 profile image
Aman Kumar Singh

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,

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 (
      <h1>My App</h1>

export default App;
Enter fullscreen mode Exit fullscreen mode
johannawad profile image
Johanna Author

Thanks for your suggestion. It will definitely improve the readability of the code!