Images, Diagrams and Video

.image, .caption, .background and .video

9 October 2026

Ada Example

An image

With no size, an image fills the space left on the slide:

A plasma fractal made with ImageMagick.
2

Image sizes

A fraction of the slide, or a height and width in pixels or fractions, with _ for no limit:

3

Graphviz

A .dot file is rendered to the SVG file next to it with dot:

The worker pool from code.slide.
4

Mermaid

.mmd and .mermaid files are rendered with the Mermaid CLI, mmdc:

What happens when you click Run.
5

A state diagram

With -hot, the browser reloads a presentation when its files change, and shows parse errors over the old slides:

6

PlantUML

.puml, .plantuml and .pu files are rendered with plantuml:

How present serves a slide.
7

Diagrams of code

Diagrams of code use the font of code on the slides, in Graphviz and Mermaid:

8

A background

.background sets the image behind the whole slide.

9

Video

Made with ffmpeg -f lavfi -i testsrc2.
10
Use the left and right arrow keys or click the left and right edges of the page to navigate between slides.
Press 'S' to show or hide the source of the slide.
(Press 'H', navigate or click this message to hide it.)