name: presenterm description: > Create terminal-based presentations with presenterm markdown — end_slide separators, code highlighting with braces, Mermaid/D2 diagrams, column layouts, speaker notes. Themes include catppuccin, tokyonight, gruvbox, terminal-dark/light. Use when user mentions presentations, slides, slide deck, presenterm, terminal slides, or wants a talk in markdown format.
presenterm Skill
Create terminal-based presentations using presenterm's markdown format.
Official docs: https://mfontanini.github.io/presenterm/
Quick Reference
Slide Structure
---
title: "My Talk"
author: "Author Name"
theme:
name: dark
---
# Slide Title
Content goes here.
<!-- end_slide -->
# Next Slide
Built-in Themes
| Dark Themes | Light Themes |
|---|---|
| catppuccin-{frappe, macchiato, mocha} | catppuccin-latte |
| dark | light |
| gruvbox-dark | terminal-light |
| terminal-dark | |
| tokyonight-{moon, night, storm} | tokyonight-day |
Key Bindings
| Key | Action |
|---|---|
j/l/arrows |
Next slide |
h/k |
Previous slide |
gg |
First slide |
G |
Last slide |
NG |
Jump to slide N |
ctrl+p |
Slide index modal |
? |
Key bindings modal |
T |
Toggle visual grid |
ctrl+e |
Execute code block |
ctrl+r |
Reload presentation |
q |
Quit |
Comment Commands
| Command | Purpose |
|---|---|
<!-- end_slide --> |
End current slide |
<!-- pause --> |
Pause for next keypress |
<!-- new_line --> |
Insert blank line |
<!-- new_lines: N --> |
Insert N blank lines |
<!-- jump_to_middle --> |
Center content vertically |
<!-- column_layout: [2, 1] --> |
Define column widths |
<!-- column: 0 --> |
Switch to column 0 |
<!-- reset_layout --> |
End column layout |
<!-- incremental_lists: true --> |
Bullet points appear one at a time |
<!-- no_footer --> |
Hide footer on this slide |
<!-- font_size: 2 --> |
Change font size (1-7, kitty only) |
<!-- alignment: center --> |
Align text left/center/right |
<!-- skip_slide --> |
Exclude from presentation |
<!-- speaker_note: Note --> |
Add speaker note |
<!-- include: file.md --> |
Include external markdown |
<!-- list_item_newlines: 2 --> |
Extra spacing between list items |
Column Layouts
<!-- column_layout: [2, 1] -->
<!-- column: 0 -->
Left content (2/3 width)
<!-- column: 1 -->
Right content (1/3 width)
<!-- reset_layout -->
Sizing: [2, 1] = total 3 units, column 0 is 2/3, column 1 is 1/3. Equal
halves: [1, 1]. Center content: [1, 3, 1] with content in column 1.
Code Blocks
Selective Highlighting
```rust {1,3,5-7}
fn main() {
let x = 10;
println!("Hello");
let mut q = 42;
q = q * 1337;
q
}
```
### Dynamic Reveal (progressive keypresses)
```markdown
```rust {1-3|5-7|all}
fn potato() -> u32 {
println!("Hello");
let mut q = 42;
q = q * 1337;
q
}
### Code Block Attributes
| Attribute | Effect |
| -------------- | ----------------------------------- |
| `+exec` | Make executable (ctrl+e) |
| `+exec_replace` | Auto-execute and show output |
| `+line_numbers` | Show line numbers |
| `+no_background` | Remove code block background |
| `+render` | Render mermaid/d2/LaTeX as image |
| `+acquire_terminal` | Give full terminal to program |
### Hidden Lines (for execution)
Prefix with `# ` to hide but still execute:
```markdown
```rust +exec
# use std::thread::sleep;
# use std::time::Duration;
fn main() {
println!("Only this line shows");
}
## Diagrams
### Mermaid
```markdown
```mermaid +render
flowchart LR
A[Producer] --> B[(Kafka)]
B --> C[Consumer]
See `references/mermaid-syntax.md` for full syntax.
### D2
```markdown
```d2 +render
direction: right
Producer -> Broker -> Consumer
See `references/d2-integration.md` for details and link to `d2` skill.
## Images
```markdown



Supported in kitty, iterm2, wezterm, ghostty, foot, sixel terminals.
Pauses and Incremental Content
First appears
<!-- pause -->
Then on next keypress
<!-- incremental_lists: true -->
- Item 1 (appears alone)
- Item 2 (next keypress)
- Item 3
<!-- incremental_lists: false -->
Running Presentations
presenterm slides.md # Development mode (hot reload)
presenterm -p slides.md # Presentation mode
presenterm -t catppuccin-mocha slides.md # Override theme
presenterm -x slides.md # Enable code execution
presenterm -P slides.md # Publish speaker notes
presenterm -e slides.md -o out.pdf # Export to PDF
presenterm -E slides.md # Export to HTML
presenterm --validate-overflows # Check slide fits terminal
Theme Overrides
---
theme:
name: dark
override:
default:
colors:
foreground: "#e6e6e6"
background: "#040312"
code:
theme_name: base16-eighties.dark
footer:
style: progress_bar
---
Options (in frontmatter)
---
options:
implicit_slide_ends: true # Auto-end slides on titles
end_slide_shorthand: true # Allow --- as separator
h1_slide_titles: true # # header becomes slide title
auto_render_languages: # Auto-render these languages
- mermaid
---
Design Patterns
See references/design-patterns.md for:
- Narrative Arc (setup → confrontation → resolution)
- Gradual Consistency (progressive reveals)
- Cave Painting (scripted demos)
- Brain Breaks (every 10-15 minutes)
- Antipatterns to avoid
Generate New Presentation
python scripts/new-presentation.py \
--title "My Talk" \
--author "Name" \
--theme catppuccin-mocha \
--template tech-talk \
--output slides.md
python scripts/new-presentation.py --title "X" --author "Y" --output - # stdout
Available Templates
minimal- Bare starter with 2 placeholder slidestech-talk- Narrative arc: Why → Problem → Solution → Demo → Summary
Example Files
See references/example-kafka.md for a full working presentation.