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
2018-07-28 18:36:00 -04:00

32 lines
405 B
Plaintext

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