marp-slides
/marp-slides
Author MARP markdown slide decks exportable to PDF, PPTX, and HTML via marp-cli. Covers Marpit directives, custom CSS themes, SVG chart recipes, and dashboard components. Triggers on: "marp", "marp deck", "markdown slides", "slides from markdown", "marp-cli", "pdf from markdown", "pptx from markdown".
- Author
- mathews-tom ↗
- Repository
- armory ↗
- Licence
- MIT
- Last repository change
- 26.10.2026
Assessment and security
- Files in this package
- 10
- Scripts
- 0
- HTML comments
- 3
- URLs in SKILL.md
- 1
No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- SKILL.md zawiera komentarze HTML (3). Nie widać ich w podglądzie Markdown, a model je czyta.
What it does and when to use it
Author MARP markdown slide decks exportable to PDF, PPTX, and HTML via marp-cli. Covers Marpit directives, custom CSS themes, SVG chart recipes, and dashboard components. Triggers on: "marp", "marp deck", "markdown slides", "slides from markdown", "marp-cli", "pdf from markdown", "pptx from markdown".
Triggers from the description
Original author description
Author MARP markdown slide decks exportable to PDF, PPTX, and HTML via marp-cli. Covers Marpit directives, custom CSS themes, SVG chart recipes, and dashboard components. Triggers on: "marp", "marp deck", "markdown slides", "slides from markdown", "marp-cli", "pdf from markdown", "pptx from markdown".
How it works
- When This Skill Triggers
- When NOT to Use This Skill
- Step 0: Gather Requirements
- Step 1: Load References On-Demand
- Step 2: Compose the Deck
- Step 3: Verify Before Handoff
- Step 4: Export
- Design Rules
SKILL.md preview
--- name: marp-slides description: 'Author MARP markdown slide decks exportable to PDF, PPTX, and HTML via marp-cli. Covers Marpit directives, custom CSS themes, SVG chart recipes, and dashboard components. Triggers on: "marp", "marp deck", "markdown slides", "slides from markdown", "marp-cli", "pdf from markdown", "pptx from markdown".' metadata: version: 1.0.1 category: visualization tags: [slides, presentation, marp, markdown, pdf, pptx] difficulty: intermediate --- # MARP Slides Skill Author slide decks as plain Markdown using the MARP ecosystem (Marpit + Marp Core + marp-cli) and export to PDF, PowerPoint, or self-contained HTML. Decks are single `.md` files, git-friendly, and themable with plain CSS. ## When This Skill Triggers - User asks for a **MARP** deck by name - User wants "markdown slides" or "slides from markdown" - User wants a `.md` file they can commit to git and regenerate deterministically - User mentions `marp-cli`, Marpit directives, or asks to theme slides with CSS - User wants CLI-exportable PDF or PPTX sourced from a text document ## When NOT to Use This Skill | User wants | Use instead | |---|---| | Reveal.js / browser-native HTML presentation with scroll nav | `html-presentation` | | Edit a binary `.pptx` with native PowerPoint features (animations, transitions set in PowerPoint) | `document-skills:pptx` | | Static poster or single-page visual | `concept-to-image` | | Animated Manim explainer video | `animate` | ## Step 0: Gather Requirements Before generating anything, confirm in a single message. Use defaults silently for anything the user declines to specify — never ask twice. | Parameter | Options | Default | |---|---|---| | **Export target** | `pdf`, `pptx`, `html`, `all` | `pdf` | | **Theme** | `dark-dashboard`, `light-editorial`, or MARP built-in (`default`, `gaia`, `uncover`) | `dark-dashboard` | | **Aspect ratio** | `16:9`, `4:3` | `16:9` | | **Slide count** | integer or `auto` | `auto` | | **Visual density** | `minimal` (text-first), `standard` (mixed), `dashboard` (charts + metric cards) | `standard` | | **Branding** | logo path, accent color hex | none | ## Step 1: Load References On-Demand **Do NOT read all reference files up front.** Based on user intent, load only what is needed. This keeps the skill within armory's token-efficiency budget. | User intent | Load | |---|---| | Any deck (always required) | `references/DIRECTIVES.md` — Marpit directives, frontmatter schema, image syntax | | Custom theme or CSS styling | `references/THEMES.md` — `dark-dashboard` and `light-editorial` starter CSS | | Charts, dashboards, metric cards, SVG visuals | `references/COMPONENTS.md` — SVG chart recipes, cards, status tags, icons | | Export to PDF/PPTX/HTML or image | `references/EXPORT.md` — marp-cli flags, Chrome dependency, `--html` flag | | User wants a concrete example to match | `references/examples/` — 3 curated decks: `dashboard.md`, `editorial.md`, `technical.md` | ## Step 2: Compose the Deck 1. **Start with frontmatter.** Every deck begins with a YAML front-matter block setting `theme`, `paginate`, `header`, `footer`, and optionally global `style`. See `DIRECTIVES.md` for the full schema. 2. **Split slides with `---`.** A horizontal rule on its own line creates a new slide. Frontmatter must come before the first slide break. 3. **First slide = title.** Use `<!-- _class: lead -->` to center the title slide, and `<!-- _paginate: skip -->` to hide it from the page count. 4. **Middle slides = content.** Prefer one idea per slide. If density is `dashboard`, use metric cards and SVG charts from `COMPONENTS.md`. If density is `minimal`, use large headings and whitespace. 5. **Last slide = summary/CTA.** Mirror the lead class on the closing slide for visual symmetry. 6. **Background images use extended syntax:** ``, ``, ``. Multiple `![bg]` tags on one slide arrange horizontally; add `vertical` for a column layout. ## Step 3: Verify Before Handoff - Frontmatter block present and valid YAML - `theme:` matches a known name (built-in or custom in the file's global `style:` block) - Every slide break is `---` on its own line with blank lines around it - Relative image paths only (MARP's `--allow-local-files` requires this for PDF export) - If using raw HTML (SVG, custom divs), confirm the export command uses `--html` - Run the export command once locally to confirm no directive warnings ## Step 4: Export See `references/EXPORT.md` for the full command reference. Minimal invocation: ```bash npx @marp-team/marp-cli@latest slides.md --pdf --allow-local-files --html ``` This skill wraps the MIT-licensed [MARP ecosystem](https://marp.app). See root [`ATTRIBUTIONS.md`](../../ATTRIBUTIONS.md) for upstream credits. ## Design Rules 1. **One idea per slide.** MARP clips overflow silently — there is no warning for content that runs off the bottom. 2. **Paginate: skip** on title and divider slides. **paginate: hold** on appendix slides. 3. **Relative paths only** for images. Absolute paths break in VS Code preview and PDF export. 4. **`--html` is required** for any SVG, `<div>`, `<details>`, or inline styling. Without it, MARP escapes HTML tags to text. 5. **Cap lists at 6 rows** on content slides. Use `details` collapsibles or a second slide for more. 6. **Headings carry meaning:** `h1` for slide title, `h2` for subtitle, `h3` for uppercase section labels. Consistent hierarchy = consistent visual rhythm. 7. **Never hardcode theme CSS into every slide.** Define it once in the global `<!-- style: | -->` directive or a separate `.css` file loaded via `theme:`.
Files in this package (10)
- CHANGELOG.md 1 KB
- SKILL.md 6 KB
- evals/cases.yaml 3 KB
- references/COMPONENTS.md 13 KB
- references/DIRECTIVES.md 8 KB
- references/EXPORT.md 7 KB
- references/THEMES.md 8 KB
- references/examples/dashboard.md 6 KB
- references/examples/editorial.md 4 KB
- references/examples/technical.md 6 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · mathews-tom/armory | 100 | MIT |
| Agent-Engineer-Master/skill-engineer | 100 | MIT |
| mashharuki/AWS-SummitHackathon-2026 | 100 | MIT |
Database snapshot: 13.11.2026 · package version 5a0b12dcc1d4 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 100author-marp-slides
Write, revise, structure, or validate Marp/Marpit Markdown slides, including directives, layouts, themes, templates, and rendered-deck checks. Use for slide authoring when palette or illustration design is not the primary task. - 95build-deck
Convert a Marp Markdown file to HTML, PDF, or PowerPoint using marp-cli. Use when asked to \"build slides\", \"export presentation\", \"convert to PDF\", \"generate PPTX\", \"marp build\", or \"export deck\". ... - 100marp-presentation
End-to-end Marp Markdown presentation workflow — create decks from topics or codebases, build to PDF/PPTX/HTML, review for quality, and customize themes. Use when asked to create slides, export presentations, review decks, or style Marp files. - 100ac-generating-slides
Generates presentation slides from Markdown using Marp. Use when user says "slides", "presentation", "deck", "marp", or wants to create/update a slide deck. - 100creating-md-slides
Use when creating presentation slides, converting markdown to PDF/PPTX/HTML, or asked about Marp, Beamer, or reveal.js. Triggers on mentions of slides, presentations, decks, or requests to generate visual presentations from content. - 95presentations
Create slide presentations in multiple formats: Marp (Markdown, default), Beamer (LaTeX), Jupyter Notebook slides, and PowerPoint (python-pptx). Supports scientific, business, and developer content with math, code, charts, and tables. Converts existing documents into slides or…