Last active
May 8, 2020 13:43
-
-
Save iksena/606ddd23bd00d527e339d9eccdd9caa5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import Markdown from './Components/Markdown.component'; | |
const content = ` | |
Be **bold** | |
But not too <b>bold</b> | |
`; | |
ReactDOM.render( | |
<Markdown>{content}</Markdown>, | |
document.getElementById('root') | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment