Marp Slides logo

Marp Slides

Community
Mathews-Tom
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".

Overview

PublisherMathews-Tom
Repositoryarmory
Skill namemarp-slides
Stars
318
Forks
47
Bundled files
8
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 8 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Mathews-Tom on GitHub. Read the source before you install it.

Installation

Install the Marp Slides AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Mathews-Tom/armory.git /tmp/armory
mkdir -p .claude/skills
cp -r /tmp/armory/skills/marp-slides .claude/skills/marp-slides
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Marp Slides in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Marp Slides on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Marp Slides is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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 wantsUse instead
Reveal.js / browser-native HTML presentation with scroll navhtml-presentation
Edit a binary .pptx with native PowerPoint features (animations, transitions set in PowerPoint)document-skills:pptx
Static poster or single-page visualconcept-to-image
Animated explainer videoconcept-to-video

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.

ParameterOptionsDefault
Export targetpdf, pptx, html, allpdf
Themedark-dashboard, light-editorial, or MARP built-in (default, gaia, uncover)dark-dashboard
Aspect ratio16:9, 4:316:9
Slide countinteger or autoauto
Visual densityminimal (text-first), standard (mixed), dashboard (charts + metric cards)standard
Brandinglogo path, accent color hexnone

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 intentLoad
Any deck (always required)references/DIRECTIVES.md — Marpit directives, frontmatter schema, image syntax
Custom theme or CSS stylingreferences/THEMES.mddark-dashboard and light-editorial starter CSS
Charts, dashboards, metric cards, SVG visualsreferences/COMPONENTS.md — SVG chart recipes, cards, status tags, icons
Export to PDF/PPTX/HTML or imagereferences/EXPORT.md — marp-cli flags, Chrome dependency, --html flag
User wants a concrete example to matchreferences/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: ![bg](url), ![bg left:40%](url), ![bg brightness:0.3 blur:2px](url). 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. See root 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:.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Marp Slides AI skill do?

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".

Why use Marp Slides on TypingMind?

Because you install it once and use it with any model. Marp Slides is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Marp Slides in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Mathews-Tom/armory/tree/main/skills/marp-slides. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Marp Slides?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Marp Slides?

As many as you like. As long as a model supports skills, you can use Marp Slides with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Marp Slides AI skill free?

Yes. It is published on GitHub by Mathews-Tom under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇