0.1.12 • Published 4 years ago

mdx-vue-deck v0.1.12

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

MDX Deck

Getting Started

npm i -D mdx-vue-deck

Create an MDX file and separate each slide with ---.

# This is the title of my deck

---

# About Me
```

---

import HelloWold from './components/HelloWold'

## <HelloWold />

# The end

Add a run script to your package.json with the MDX Deck CLI pointing to the .mdx file to start the dev server:

"scripts": {
  "eject": "mdx-vue-deck eject",
  "start": "mdx-vue-deck dev deck.mdx -c theme.config.js",
  "build": "mdx-vue-deck build deck.mdx -c theme.config.js"
},

Keyboard Shortcuts

KeyDescription
Left Arrow, Page Up, Shift + SpaceGo to previous slide
Right Arrow, Page Down, SpaceGo to next slide
Option + PToggle Presenter Mode
Option + OToggle Overview Mode
Option + GToggle Grid Mode

References

mdx-deck

License

MIT