Slideshow

Contents

The <slide-show> element renders Marp-style presentations from a markdown file. Below is a live one, embedded from this org file with an export block (see Widgets) – use the arrow keys or the buttons to navigate.

Writing a presentation

Create a markdown file in notes/ with slides separated by ---. The generator copies every note into /static/, which is where the widget loads it from. The deck above lives in example-slideshow.md.

Marp front matter at the top of the deck can set a theme and custom colors for the whole presentation.

Embedding

<slide-show src="/static/example-slideshow.md" theme="dark"></slide-show>

Attributes:

  • src – path to the markdown deck
  • themedark or light
  • start-slide – which slide to start on (default: 1)

Keyboard shortcuts

Key Action
→ / Space / l Next slide
← / h Previous slide
Home / g First slide
End / G Last slide
F Fullscreen