RenderingAppears in · PaneAdded

marp-preview

Live Marp deck preview in a pane; re-renders on save and jumps to the changed slide.

marp-preview · Effect preview · IllustrationIllustrative
> Add pagination to the order list
⏺ I’ll look at the list component first.
❯

Illustration. Actual results depend on the mod, terminal and environment.

Install

/plugin marketplace add nogu66/marp-preview
/plugin install marp-preview@marp-preview
/reload-plugins

Run these commands one at a time in a Claude Code session.

What it accesses

Based on the author’s documentation, checked when listed; use claude plugin validate to check for yourself.

Reads

Yes

Reads the open Marp deck and its mtime; may grep .md files for marp: true.

Writes files

Yes

Writes rendered PNGs under /tmp/marp-preview/; never edits the project deck.

Runs commands

Yes

Runs long-lived marp --watch (or npx @marp-team/marp-cli) and grep when finding a deck.

Network

Yes

Author notes network only for npx fetching marp-cli when no local binary exists.

Introduction

marp-preview is a Claude Code function-hooks mod: /marp opens a side pane with every Marp slide as a scrolling column of images, re-renders on save, and scrolls to the slide that changed. It only reads the deck and writes PNGs under /tmp/marp-preview/. It runs marp from local node_modules or npx @marp-team/marp-cli, plus grep to find decks. First-time npx may use the network. Needs Claude Code 2.1.289+ and a kitty-graphics terminal such as Ghostty or kitty (not through tmux/ssh). Preview is illustrative.

Who it is for

  • People editing Marp decks in Claude Code who want an in-terminal preview

Requirements

  • Claude Code ≥ 2.1.289
  • Platforms · macOS / Linux
  • Needs a kitty-graphics terminal (Ghostty/kitty), not through tmux or ssh.
  • Local marp-cli is faster; otherwise npx may be slow on first run.