aboutsummaryrefslogtreecommitdiff
path: root/src/demo/content.md
blob: 01d848f07214bcfbf6737cf1484321f29153e09b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
## Markdown
[Markdown file](${url}) *(...`$fileName`)* that you can see on the left was parsed and rendered by **BENZIN**! :rocket:
Switch between tabs on the header to explore other markdown templates. :recycle:
Templates on the left are being loaded from the [GitHub](https://github.com), though this pane is generated from plaintext. :pen:
## How do I use this feature?
```
import Markdown from 'react-benzin';
const data = '# Header\nHello, *world!*';
ReactDOM.render(<Markdown data={data}/>, document.getElementById('root'));
```

`$tryButton`