import { Head, Image, Notes, Appear } from '@mdx-deck/components' import { Invert, Split, SplitRight, FullScreenCode, Horizontal} from '@mdx-deck/layouts' import Counter from './Counter' export { default as theme } from '@mdx-deck/themes/future' mdx-deck # MDX Deck MDX-based presentation decks --- # Presentation decks --- # Built with [MDX][] [MDX]: https://github.com/mdx-js/mdx --- import { Box } from '@rebass/emotion' Import React components --- - Make bulleted lists - To help make your point --- ## Getting Started 1. `npm i -D mdx-deck` 2. Write some markdown and JSX 3. Present --- ```jsx ``` - These are speaker notes - And they won't be rendered in your slide --- ```jsx class extends React.Component { render () { return (

Indented code

) } } ``` --- > “Blockquotes are essential to any good presentation” – Anonymous --- ### Appear --- Testing object fit --- ### Real React Components --- --- ![](https://images.unsplash.com/photo-1462331940025-496dfbfc7564?w=2048&q=20) ## Split Layout --- ![](https://images.unsplash.com/photo-1462331940025-496dfbfc7564?w=2048&q=20) ## Split Layout (To the right) --- ![](https://source.unsplash.com/random/1024x768') ![](https://source.unsplash.com/random/1024x768') ### Horizontal Layout --- # Invert Layout --- ``` ``` --- ![](https://images.unsplash.com/photo-1462331940025-496dfbfc7564?w=2048&h=1024&q=20&fit=crop) Inline image --- Prop | Type | Description ---|---|--- `width` | number, string, or array | sets element width `color` | string | sets foreground color `bg` | string | sets background color --- # Get started :sunglasses: [GitHub](https://github.com/jxnblk/mdx-deck)