Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

marp

БесплатноЗапускает вложенные скриптыНе проверен

Create slide presentations from Markdown using Marp. Use when: (1) Creating presentation slides or decks (2) Converting markdown to PDF/PPTX/HTML slides (3)…

ivanrvpereiraот ivanrvpereira★ 19 звёзд на GitHub

Об этом скилле

Marp Presentations

Create presentations from Markdown using Marp.

Quick Start

  1. Create a .md file with marp: true in front-matter
  2. Separate slides with ---
  3. Export with marp --pdf slides.md or npx @marp-team/marp-cli --pdf slides.md

Basic Structure

---
marp: true
theme: default
paginate: true
---

<!-- _class: lead -->

# Presentation Title

Author Name

---

## Content Slide

- Point one
- Point two
- Point three

Workflow

Step 1: Understand Requirements

  • Identify content: title, topics, key points
  • Determine target audience
  • Assess formality level

Step 2: Select Theme

Content Type Recommended Theme
General/Unsure default
Modern/Dark gaia with invert
Minimal/Clean uncover

Step 3: Structure Content

  1. Title slide: Use <!-- _class: lead --> + h1
  2. Agenda slide: Overview with 3-5 items
  3. Content slides: h2 title + bullet points
  4. Summary slide: Key takeaways

Step 4: Apply Best Practices

  • Titles: 3-5 words, clear and concise
  • Bullets: 3-5 items per slide
  • Text: 15-30 characters per line
  • Rule: 1 slide = 1 message

Step 5: Add Images (if needed)

Common pattern:

## Slide Title

![bg right:40%](image.png)

- Explanation point 1
- Explanation point 2

Step 6: Export

marp slides.md -o output.pdf    # PDF
marp slides.md -o output.pptx   # PowerPoint
marp slides.md -o output.html   # HTML

Handling "Make It Look Good" Requests

When users give vague instructions like "make it professional" or "improve the design":

  1. Infer from content:

    • Business content → default theme, formal structure
    • Technical content → gaia with invert, code-friendly
    • Creative content → custom colors via backgroundColor
  2. Apply automatically:

    • Shorten titles to 3-5 words
    • Limit bullet points to 3-5 items
    • Add whitespace between sections
    • Use consistent structure throughout
  3. Enhance visual hierarchy:

    • Title slide with <!-- _class: lead -->
    • Section breaks with centered headings
    • Logical flow: intro → body → conclusion

Essential Directives

Directive Usage
theme default, gaia, uncover
paginate true for page numbers
class lead (centered), invert (dark)
_class Single-slide class (prefix _)
header Header text for all slides
footer Footer text for all slides

Image Quick Reference

![bg](image.jpg)              <!-- Full background -->
![bg right:40%](image.jpg)    <!-- Split: image right, text left -->
![bg left:40%](image.jpg)     <!-- Split: image left, text right -->
![bg brightness:0.5](img.jpg) <!-- Darkened for text overlay -->
![w:400](image.jpg)           <!-- Inline, specific width -->

Quality Checklist

Before delivering, verify:

  • Title slide uses <!-- _class: lead -->
  • All h2 titles are concise (3-5 words)
  • Bullet points are 3-5 items per slide
  • 1 slide = 1 message
  • Adequate whitespace
  • Images use proper Marp syntax
  • Pagination enabled (paginate: true)
  • File saved with .md extension

References

Assets

Export Commands

marp slides.md              # HTML (default)
marp --pdf slides.md        # PDF
marp --pptx slides.md       # PowerPoint
marp -w slides.md           # Watch mode (auto-rebuild)
marp -s ./slides/           # Server mode (live preview)
marp -p slides.md           # Open preview window

Use npx @marp-team/marp-cli if not installed globally.

Полный SKILL.md на GitHub

Установить marp в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/template.mdreferences/advanced-features.mdreferences/best-practices.mdreferences/cli.mdreferences/syntax.mdreferences/themes.mdscripts/ensure_marp.sh

FAQ

Что делает скилл marp?

Create slide presentations from Markdown using Marp. Use when: (1) Creating presentation slides or decks (2) Converting markdown to PDF/PPTX/HTML slides (3) User mentions "marp", "slides", "presentation", or "deck" (4) Requests for speaker notes, slide themes, or presentation exports (5) Vague requests like "make it look good" or "make slides professional" Supports themes, backgrounds, math, diagrams, and multiple export formats.

Как установить скилл marp?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл marp запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить marp с