feat(v2): composition syntax highlighting & live code editors (#1555)

* feat(v2): composition syntax highlighting & react-live playground

* mobile friendly tweak

* refactor styling

* revert docs
This commit is contained in:
Endi 2019-06-04 15:59:51 +07:00 committed by GitHub
parent 246c1814c0
commit 305a4f0a29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 287 additions and 84 deletions

View file

@ -9,7 +9,7 @@ Next, let's touch on the powerful feature in Docusaurus - documentation.
Create a new file within the `docs` directory called `hello.md` with the following contents:
```md
```markdown
---
title: Hello
---
@ -43,7 +43,7 @@ Start the development server again and go to http://localhost:3000/docs/hello, y
Edit `docs/hello.md` and append the following:
```mdx
```jsx
import Trend from 'react-trend';
_Here's a bar chart!_