Skip to content
Back to skills

Preview

ASecurity

Create presentations and slide decks (Marp, reveal.js, Quarto) from markdown or notebooks

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
documentationpythonrustgogitdocumentation

Works with

  • cli

Security analysis

A100/100

Scanned October 5, 2026

npx -y skills add trungdo9/ClauKit --skill preview --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Preview?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Preview
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/trungdo9-preview/badge)](https://www.skillsdirectory.com/skills/trungdo9-preview)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: preview
description: Create presentations and slide decks (Marp, reveal.js, Quarto) from markdown or notebooks
category: Documentation & Content
status: active
---

# Preview

## Purpose
Transform markdown or notebooks into slide decks (Marp, reveal.js, Quarto). Separates content authoring from presentation design. **Presentations only.**

> Just *reading* a markdown tree in a browser needs no skill: `mdbook serve` (Rust, TOC + search), `npx markserv` (zero-config, any folder), or `grip README.md` (GitHub styling) each serve a directory with live reload. That was a separate skill until 2026-08-21 — three well-known one-liners are not knowledge a kit has to carry.

## When to Use
- Converting markdown slides for talks, demos, or team presentations
- Creating animated "how-to" visuals (step-by-step with transitions)
- Building interactive notebooks with executable code (Quarto with R/Python)
- Generating PDFs or HTML slides for sharing with non-technical audiences

**Do NOT use when**: Just viewing/serving markdown locally (see the note above — `mdbook serve` / `markserv` / `grip`), publishing a docs site (use a docs generator such as Docusaurus, MkDocs or Mintlify), building interactive web apps (use a framework), creating video tutorials (use video editing software), or needing real-time collaboration (use Google Slides/Figma).

## Workflow
1. **Choose tool** — Marp (simple markdown → slides), reveal.js (advanced HTML/CSS control), or Quarto (scientific/data-driven content)
2. **Write markdown** — For Marp: `---` separates slides; for reveal.js: use HTML wrapper; for Quarto: YAML front-matter + markdown
3. **Add transitions** — Include speaker notes, animations, code highlights, and image placements
4. **Preview locally** — Marp CLI, reveal.js dev server, or Quarto preview
5. **Export/deploy** — Output to PDF, HTML, or PowerPoint (Marp, Quarto); host reveal.js on web server

## Key Concepts
### Marp (Markdown Presentation Ecosystem)
Markdown input → HTML/PDF output. Three built-in themes (default, gaia, uncover) or custom CSS. Fastest path from content to slides. Supports inline HTML/CSS for custom styling. Best for: quick talks, team updates, demo recordings.

### Reveal.js (HTML Framework)
Full-featured reveal.js framework with nested slides, auto-animate between similar elements, speaker view (notes + timer), and mobile support. Steeper learning curve but maximum control. Best for: conference talks, interactive demos, complex animations.

### Quarto (Scientific Publishing)
Combines markdown + executable code (R, Python, Julia) + LaTeX equations. Outputs to HTML, PDF, Word, ePub. Built-in figure numbering, cross-references, and citations. Best for: technical reports, data-driven presentations, academic papers.

## Example (Marp)
```markdown
---
marp: true
theme: gaia
---

# Slide 1: Title

## Subtitle

---

# Slide 2: Key Points

- Point A
- Point B

---

<!-- Speaker notes below -->

This is hidden from audience view
```

## Common Pitfalls
- Too much text per slide (practice the 5-7 word rule; make text scannable)
- Ignoring readability (small fonts, low contrast; test from 10ft away)
- Overusing transitions (distracting; save animations for emphasis)
- Forgetting speaker notes (hint: "pause here", "emphasize X"; hidden from audience)
- Mixing tools mid-project (pick one tool and stick with it for consistency)

## References
- [Marp Official Docs](https://marp.app/) — Markdown presentation ecosystem; three themes + custom CSS
- [Reveal.js Documentation](https://revealjs.com/) — HTML presentation framework with auto-animate and speaker view
- [Quarto Official Documentation](https://quarto.org/) — Scientific publishing system supporting R/Python/Julia with code execution

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.