A simple MDX-powered deck.
This project uses:
- Parcel for transpiling, serving, and building files
- MDX for authoring using Markdown syntax
- React custom components
- Tailwind CSS & remark-attr for styling
- prism-react-renderer for styling code blocks
Instead of making this an npm package that requires a configuration api, simply use degit to copy these project files over to act as scaffolding for your own deck.
# first
npx degit filoxo/minideck your-presentation-name
# then
yarn install
# and finally
yarn start
Generate a production-ready version of your slide deck. This is ideal for deploying your slides as static assets and making them publicly available.
# build
yarn build
# serve prod locally; recommended for better perf when presenting
npx serve -d dist
Again, rather than requiring configuration, you have access to all of the underlying components and tooling. Need to change something? Just find the file and tweak it.
-
Add your own presentation content in
content.mdx
-
Change the styling? Add Tailwind classes by either:
-
using inline attribute syntax (learn more at the remark-attr repo)
_Warning!_{.text-red-500}
-
or in your MDX components, optionally with classnames for conditional logic
-
-
Change the code theme? Change the imported theme in
Code.js
-
Add more components? Import them in
content.mdx
, or add them to thecomponents
list inindex.js
-
Add more features? Feel free to send a PR that you think would help everyone!