Skip to content

Marp Presentations

Bokuchi can render Markdown files as slide presentations using Marp. Write your slides in Markdown and preview them as a presentation — no separate presentation software needed.

Marp is disabled by default. To enable it:

  1. Open Settings with Cmd+, (macOS) or Ctrl+, (Windows/Linux)
  2. Go to Advanced > Rendering Extensions
  3. Turn on Marp (Presentations)

Add marp: true to the YAML front-matter at the top of your Markdown file. Separate slides with --- (three hyphens on their own line).

---
marp: true
---
# Slide 1
Welcome to my presentation!
---
# Slide 2
- Point A
- Point B
- Point C
---
# Slide 3
Thank you!

When Bokuchi detects marp: true in the front-matter, the preview automatically switches to presentation mode.

Marp presentations behave differently depending on the current view mode:

All slides are displayed vertically in the preview pane. The editor and slides scroll together, so you can see which slide you are editing.

Slides are displayed one at a time with navigation controls:

ActionShortcut
Next slideRight arrow / Down arrow / Space
Previous slideLeft arrow / Up arrow
Exit fullscreenEscape

A slide counter at the top shows your current position (e.g., “Slide 2 of 10”).

Click the fullscreen button in the preview header to display the current slide in a 16:9 aspect ratio on a dark background. Press Escape to exit fullscreen.

Click the grid button in the preview header to see all slides at a glance. Click any thumbnail to jump to that slide.

Marp supports built-in themes. Specify a theme in the front-matter:

---
marp: true
theme: gaia
---

Available Marp themes include default, gaia, and uncover.

Relative image paths in your Markdown work inside Marp presentations. Bokuchi automatically resolves them so that images display correctly in the preview.

---
marp: true
---
![Diagram](./images/diagram.png)