MARP (Markdown Presentation) is a framework that allows users to create presentations using simple Markdown syntax. It converts Markdown files into visually appealing slides.
MARP extends Markdown to support slides using --- as a separator. A basic MARP slide deck looks like this:
---
--- marp: true --- # Slide Title Some content here. --- ## Next Slide More content.
MARP also supports:
npm install -g @marp-team/marp-cli
.md
marp: true
marp my-presentation.md --pdf
MARP supports theming via CSS:
/* Custom Theme Example */ section { background-color: #f4f4f4; color: #333; }
Apply the theme using:
--- theme: my-theme ---
--pdf
--html
--pptx
Once you create your MARP slides, you can host them online for easy sharing.
index.html
https://yourusername.github.io/repo-name/
npm install -g vercel
vercel
Both options provide free hosting and auto-deployment for updates.
MARP is a powerful tool for creating presentations efficiently using Markdown. It’s an excellent alternative to traditional slide decks, offering speed, version control, and flexibility.
Next Steps:
Happy Presenting!