aboutsummaryrefslogtreecommitdiff
path: root/src/demo/content.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/demo/content.md')
-rw-r--r--src/demo/content.md12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/demo/content.md b/src/demo/content.md
index ad61d33..41607a9 100644
--- a/src/demo/content.md
+++ b/src/demo/content.md
@@ -1,9 +1,5 @@
## Markdown
-[Markdown file](${url}) *(...
-```react
-fileName
-```
-)* that you can see on the left was parsed and rendered by **BENZIN**! :rocket:
+[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?
@@ -12,6 +8,6 @@ import Markdown from \'react-benzin\';
const data = \'# Header\\nHello, *world!*\';
ReactDOM.render(<Markdown data={data}/>, document.getElementById(\'root\'));
```
-```react
-tryButton
-```
+
+`$tryButton`
+