aboutsummaryrefslogtreecommitdiff
path: root/src/demo
diff options
context:
space:
mode:
authorEugene Sokolov <eug-vs@keemail.me>2021-01-14 19:27:47 +0200
committerGitHub <noreply@github.com>2021-01-14 19:27:47 +0200
commite1d1bb966cca5e1541d5703505cfa83e6ae12ec0 (patch)
treed803e0e891fc6c14ff2a390beeabbe59d0ad8485 /src/demo
parentd23df805ed5d0e78c604d5c9f81f21bbc6a06288 (diff)
parentef9dfdacf17c62254331140a40a508549aa725b4 (diff)
downloadreact-benzin-4.1.0.tar.gz
Merge pull request #22 from eug-vs/develop4.1.0master
Release 4.1.0
Diffstat (limited to 'src/demo')
-rw-r--r--src/demo/content.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/demo/content.md b/src/demo/content.md
new file mode 100644
index 0000000..01d848f
--- /dev/null
+++ b/src/demo/content.md
@@ -0,0 +1,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`
+