1
1
mirror of https://github.com/jxnblk/mdx-deck.git synced 2024-11-30 00:44:20 +03:00
mdx-deck/docs/index.mdx

52 lines
737 B
Plaintext
Raw Normal View History

2018-07-29 01:36:00 +03:00
import Layout from './Layout'
2018-07-29 19:11:24 +03:00
import { Image } from '../src'
2018-07-28 21:21:36 +03:00
2018-07-29 19:11:24 +03:00
# mdx-deck
MDX-based presention decks
2018-07-28 21:21:36 +03:00
---
2018-07-29 19:11:24 +03:00
# Presentation decks
2018-07-28 21:21:36 +03:00
---
# Built with [MDX][]
[MDX]: https://github.com/mdx-js/mdx
---
import Box from 'superbox'
2018-07-28 21:21:36 +03:00
2018-07-29 19:11:24 +03:00
<Box
fontSize={4}
p={4}
bg='magenta'>
Import React components
2018-07-28 21:21:36 +03:00
</Box>
2018-07-29 01:36:00 +03:00
---
export default Layout
2018-07-29 19:11:24 +03:00
# Layouts
Add layouts per-slide
2018-07-29 18:12:33 +03:00
---
2018-07-29 19:11:24 +03:00
- Make bulleted lists
- To help make your point
2018-07-29 18:12:33 +03:00
---
2018-07-29 19:11:24 +03:00
## Getting Started
1. `npm i -D mdx-deck`
2018-07-29 18:12:33 +03:00
2. Write some markdown and JSX
3. Present
2018-07-29 19:11:24 +03:00
2018-07-29 18:12:33 +03:00
---
```
<button>code example</button>
```
---
> “Blockquotes are essential to any good presentation”
Anonymous
---
![](https://s3.amazonaws.com/jxnblk/ok-cli.gif)
2018-07-29 19:11:24 +03:00
---
<Image src='https://s3.amazonaws.com/jxnblk/ok-cli.gif' />