aboutsummaryrefslogtreecommitdiff
path: root/src/demo
diff options
context:
space:
mode:
Diffstat (limited to 'src/demo')
-rw-r--r--src/demo/content.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/demo/content.md b/src/demo/content.md
new file mode 100644
index 0000000..ad61d33
--- /dev/null
+++ b/src/demo/content.md
@@ -0,0 +1,17 @@
+## Markdown
+[Markdown file](${url}) *(...
+```react
+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\'));
+```
+```react
+tryButton
+```