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

32 lines
405 B
Plaintext
Raw Normal View History

2018-07-29 01:36:00 +03:00
import Layout from './Layout'
export { default as theme } from './theme'
2018-07-28 21:21:36 +03:00
# Hello
---
# This is a presentation deck!
---
# Built with [MDX][]
2018-07-29 01:36:00 +03:00
You know it!
2018-07-28 21:21:36 +03:00
[MDX]: https://github.com/mdx-js/mdx
---
import Box from 'superbox'
2018-07-28 21:21:36 +03:00
<Box p={3} bg='magenta'>
And you can import React components!
</Box>
2018-07-29 01:36:00 +03:00
---
export default Layout
# Slide Layouts
Each slide can have its own layout with a default export