2018-07-29 20:18:00 +03:00
|
|
|
|
export { future as theme } from '../src/themes'
|
2018-08-03 10:59:20 +03:00
|
|
|
|
import { Image, Notes, FragmentBlock } from '../src'
|
2018-07-30 00:09:25 +03:00
|
|
|
|
import Layout from './Layout'
|
2018-07-29 20:18:00 +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
|
|
|
|
|
---
|
2018-07-29 01:13:50 +03:00
|
|
|
|
import Box from 'superbox'
|
2018-07-28 21:21:36 +03:00
|
|
|
|
|
2018-07-29 19:11:24 +03:00
|
|
|
|
<Box
|
2018-07-31 01:04:47 +03:00
|
|
|
|
fontSize={3}
|
2018-07-29 19:11:24 +03:00
|
|
|
|
p={4}
|
|
|
|
|
bg='magenta'>
|
|
|
|
|
Import React components
|
2018-07-28 21:21:36 +03:00
|
|
|
|
</Box>
|
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-08-01 19:22:35 +03:00
|
|
|
|
---
|
|
|
|
|
# 4 reasons to use Reason
|
|
|
|
|
|
|
|
|
|
<FragmentBlock>
|
2018-08-01 22:56:22 +03:00
|
|
|
|
<div>Based on OCaml</div>
|
|
|
|
|
<div>Types</div>
|
|
|
|
|
<span>Community</span>
|
|
|
|
|
<div className="some-effects">Interop</div>
|
2018-08-01 19:22:35 +03:00
|
|
|
|
</FragmentBlock>
|
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
|
|
|
|
---
|
2018-08-03 04:21:16 +03:00
|
|
|
|
|
2018-07-29 18:12:33 +03:00
|
|
|
|
```
|
|
|
|
|
<button>code example</button>
|
|
|
|
|
```
|
2018-08-03 03:54:21 +03:00
|
|
|
|
|
2018-08-03 05:15:33 +03:00
|
|
|
|
```notes
|
|
|
|
|
- These are speaker notes
|
|
|
|
|
- And they won't rendered in your slide
|
|
|
|
|
```
|
2018-08-03 03:54:21 +03:00
|
|
|
|
|
2018-07-29 18:12:33 +03:00
|
|
|
|
---
|
|
|
|
|
> “Blockquotes are essential to any good presentation”
|
|
|
|
|
|
|
|
|
|
– Anonymous
|
2018-07-29 23:17:23 +03:00
|
|
|
|
|
2018-08-03 05:15:33 +03:00
|
|
|
|
<Notes>
|
|
|
|
|
<ul>
|
|
|
|
|
<li>Speaker notes can also be</li>
|
|
|
|
|
<li>Written in JSX</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</Notes>
|
|
|
|
|
|
2018-08-01 02:27:52 +03:00
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
<Image src='https://images.unsplash.com/photo-1462331940025-496dfbfc7564?w=2048&q=20' />
|
|
|
|
|
|
2018-07-29 18:12:33 +03:00
|
|
|
|
---
|
2018-07-30 00:09:25 +03:00
|
|
|
|
export default Layout
|
2018-07-29 23:17:23 +03:00
|
|
|
|
|
2018-08-01 01:24:46 +03:00
|
|
|
|
# Get started :sunglasses:
|
2018-07-29 23:17:23 +03:00
|
|
|
|
[GitHub](https://github.com/jxnblk/mdx-deck)
|