Command Palette

Search for a command to run...

Назад к скиллам
скилл № 01058

presenterm

Build and run terminal-based presentations from markdown with presenterm - slide syntax, speaker notes, executable code blocks, mermaid/d2/LaTeX rendering…

БесплатноБез исполняемых скриптов
lanejот lanej★ 41 звезда на GitHub

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

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

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

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

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

presenterm

Terminal presentations from markdown. Slide bodies are ordinary markdown (headings, lists, tables, fenced code, block quotes) — only the presenterm-specific extensions below need documenting.

Slide structure

Slides are separated by --- on its own line. First # is the slide title; a following ## acts as a subtitle on a title slide.

Speaker notes are HTML comments, visible only in presentation mode:

<!-- speaker notes
- Mention the migration timeline
- Don't forget the cost table
-->

Code block attributes

Appended after the language tag on the fence:

Attribute Effect
+exec Runs on keypress e when the slide is shown; output appears below
+exec_replace Runs automatically on slide load; output replaces the block
+render Renders the block as an image (mermaid, d2, latex, typst)
+width:80% Sizes a rendered image
```bash +exec
kubectl get pods
```

```d2 +render +width:80%
users -> lb -> api
```

Execution is opt-in at launch — a +exec block does nothing without the flag:

presenterm -x file.md              # enable +exec
presenterm -X file.md              # enable +exec_replace
presenterm --validate-snippets file.md   # typecheck without running

Diagram and formula rendering

+render on mermaid, d2, latex, or typst blocks converts them to images at load time. A missing renderer fails quietly, so install what the block needs: mermaid → @mermaid-js/mermaid-cli (npm), d2 → d2, typst → typst, latex → typst and pandoc (pandoc converts the LaTeX to typst, typst rasterizes it). Tune output in config.yaml:

typst:
  ppi: 300
mermaid:
  theme: dark
  background: "#2E3440"
  scale: 2.0
d2:
  theme: "Nord"
  scale: 1.5

Running and exporting

presenterm file.md
presenterm -t catppuccin file.md     # --list-themes for the full set
presenterm --export-pdf file.md
presenterm -c /path/to/config.yaml file.md

Images need a terminal protocol; --image-protocol auto is the default. Force it when auto-detect guesses wrong over SSH or in a multiplexer: iterm2, kitty-local, kitty-remote, sixel, ascii-blocks (fallback).

Config location

~/.config/presenterm/config.yaml (Linux), ~/Library/Application Support/presenterm/config.yaml (macOS).

theme: catppuccin
image_protocol: auto
validate_overflows: true
enable_snippet_execution: false

Keys during a presentation

←/→ or Space/Backspace navigate; g jumps to a slide number; e executes a +exec block; f fullscreen; ? help; q quit.

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

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

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

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

FAQ

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

Build and run terminal-based presentations from markdown with presenterm - slide syntax, speaker notes, executable code blocks, mermaid/d2/LaTeX rendering, themes, and PDF/HTML export. Use when building a presentation from markdown slides with live code execution or diagram rendering. Don't use for Beamer/Reveal.js decks, browser-based slide tools, or EasyPost branded presentation decks — use ep-slides for those instead.

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

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

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

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить presenterm с