/md-present:md-presentfrom md-present
Creates, revises, validates, and runs browser slide decks from Markdown using the md-present CLI. Supports Mermaid diagrams, columns, and local media.
Ships in md-present. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
md-present turns one Markdown file into a local browser presentation. Keep the Markdown as the editable source of truth; use the browser view to review the structure, not as a separate document format.
Use standard Markdown plus GitHub-Flavored Markdown tables, strikethrough, task lists, and automatic links. Add a language to fenced code blocks when syntax highlighting is useful. Unknown or unlabelled code fences remain escaped, plain code rather than failing the deck.
Put --- on a line by itself to start a slide. Whitespace around it is allowed. Empty content before, after, or between separators does not create a slide; a separator inside a fenced code block remains code.
Start with one idea per slide: a short title and a small number of concise bullets, a focused table, an image, or one diagram. Prefer splitting a dense slide over relying on scrolling. The browser makes oversized slides scrollable and warns about them, but a printed landscape page can clip their overflow.
For example:
# Rollout plan
- Prepare the data
- Test with one team
- Expand after review
---
## Decision points
| Checkpoint | Owner |
| --- | --- |
| Pilot review | Operations |
| Go/no-go | Sponsor |
Use trusted CommonMark raw HTML when standard Markdown needs a container. Keep blank lines between HTML tags and Markdown content. For equal-width columns, use md-present's built-in classes:
<div class="columns">
<div class="column">
## Left
- Standard Markdown
</div>
<div class="column">
## Right

</div>
</div>
Prefer two or three columns. Keep media in Markdown syntax inside the containers so local files remain embedded and watched. Raw HTML requires explicit trust before the deck opens; do not pass --allow-raw-html unless the user has approved the file.
Use a fenced mermaid block for diagrams that clarify flow, sequence, hierarchy, or other relationships. md-present's compatibility baseline is flowcharts, sequence, class, state, entity-relationship, timeline, mind map, and architecture diagrams; other bundled Mermaid types may render but are not guaranteed. Keep diagrams static: Mermaid init and config directives and interactive callbacks are not supported. Refer to the Mermaid documentation for diagram syntax.
```mermaid
flowchart LR
Draft --> Review --> Publish
```
Place local images and videos beside the deck or in a relative subdirectory. md-present resolves those paths from the deck directory and embeds their contents in the generated page. Use normal image Markdown for both:


Video destinations ending in .mp4, .m4v, .mov, .ogv, .ogg, or .webm render with browser controls. Prefer local media for offline presentations. Remote media stays network-dependent; absolute paths and media outside the deck directory require an explicit trust confirmation before opening the deck.
--allow-raw-html or --allow-external-media unless the user explicitly approves the corresponding content; these flags bypass separate trust prompts and are suitable only for intentional, reviewed input or non-interactive automation.Decks may select a reusable JSON token theme through top-of-file theme: front matter. The .json extension is optional, though omitting it is preferred: bare names resolve from the deck directory and then ~/.md-present/themes/; paths resolve relative to the deck. Keep the schema limited to the documented colors, font stack, and gutter values; do not use raw HTML or promise arbitrary CSS, presenter notes, transitions, or math rendering. Fenced Mermaid diagrams and recognized code languages render locally from embedded assets.
When the client provides the md-present MCP present_file tool, prefer it when
shell execution is unavailable. Pass an absolute Markdown path. The file's
containing directory is the root for relative media. If the tool returns a
structured error with approval_required: true, show the raw_html state and
every external_media reference to the user. Retry with allow_raw_html or
allow_external_media only after the user explicitly approves the
corresponding content.
Use:
md-present [--no-open] [--allow-external-media] [--allow-raw-html] <deck.md>
Run md-present --version first when availability is uncertain.
Use the default command for an interactive presentation. It prints one loopback URL and opens the browser. Use --no-open for automated validation; it prints the URL without launching a browser and continues running until signaled.
When a deck includes remote, absolute-path, or outside-deck media, md-present lists the references and asks whether to trust the file before starting. Answer the prompt only when the user has approved those references. For reviewed non-interactive use, pass --allow-external-media; otherwise leave the prompt in place.
When a deck includes raw HTML, md-present separately asks whether to render it. Answer only when the user has approved the file. For reviewed non-interactive use, pass --allow-raw-html; otherwise leave the prompt in place. The restrictive browser policy blocks inline scripts and styles, but trusted HTML can still change presentation behavior or load external resources.
The server binds only to 127.0.0.1 on a free port. Stop it with Ctrl+C or SIGTERM. Closing the last connected presentation tab normally stops it after a short grace period, but treat that behavior as best-effort.
Saving the Markdown file or referenced local media live-reloads connected tabs. The URL hash preserves the active slide when it still exists; if a save cannot be rendered, the last valid presentation stays visible until the source is valid again.
After a browser lays out the deck, md-present temporarily warns about slides that exceed the regular 16:9 slide area. The warning is viewport-specific: with --no-open, no overflow can be reported until a browser opens the printed URL. Oversized slides scroll while normal slides retain their fixed layout. On an oversized slide, the warning collapses to a small indicator that can expand it again.
--- apart from surrounding whitespace and that code fences are closed. An unterminated fence continues to the end of the document and produces a terminal warning..column as a direct child of .columns.init/config directive.--allow-raw-html and --allow-external-media only after explicit user approval.md-present --no-open deck.md, keep it running, and wait for its single loopback URL line.Printing should produce one slide per landscape page. The browser shows a subtle current/total counter during presentation but hides it for print.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub timonwd/md-present --plugin md-present