mirror of
https://github.com/jxnblk/mdx-deck.git
synced 2024-12-01 21:42:08 +03:00
44 lines
331 B
Markdown
44 lines
331 B
Markdown
|
|
# mdx-deck
|
|
|
|
Create presentation decks with [MDX][]
|
|
|
|
```sh
|
|
npm i mdx-deck
|
|
```
|
|
|
|
````md
|
|
---
|
|
imports:
|
|
- import Demo from './components/Demo'
|
|
---
|
|
|
|
# This is the title of my deck
|
|
|
|
---
|
|
|
|
# About Me
|
|
|
|
---
|
|
|
|
```jsx
|
|
<CodeSnippet />
|
|
```
|
|
|
|
---
|
|
|
|
|
|
<Demo />
|
|
|
|
---
|
|
|
|
# The end
|
|
|
|
````
|
|
|
|
```sh
|
|
mdx-deck deck.mdx
|
|
```
|
|
|
|
[MDX]: https://github.com/mdx-js/mdx
|