Presentation Format

The TOML presentation format is the native format for Toboggan.

Full example

[presentation]
title = "My Talk"
author = "Jane Doe"
description = "An example presentation"
version = "0.1.0"

[[slides]]
kind = "Part"
title = "Part 1: Introduction"

[[slides]]
title = "Welcome"
body = '''
Welcome to this presentation!

This is a multi-line text block.
'''

[slides.style]
background_color = "#2d3436"
color = "#dfe6e9"

[[slides.notes]]
body = "Speaker notes go here"

[[slides]]
title = "Code Example"
body = '''
Here is some Rust code:

```rust
fn hello() {
    println!("Hello!");
}
```
'''

[[slides]]
kind = "Part"
title = "Part 2: Deep Dive"

[[slides]]
title = "Key Concepts"
body = '''
- First concept
- Second concept
- Third concept
'''

Field reference

Presentation

FieldTypeRequiredDescription
titleStringYesPresentation title
authorStringNoAuthor name
descriptionStringNoShort description

Slide

FieldTypeRequiredDescription
kindStringNo"Slide" (default) or "Part"
titleStringYesSlide title
bodyStringNoSlide body content (Markdown)
durationDurationNoAuto-advance timer

Style

FieldTypeDescription
background_colorStringCSS color
colorStringText color
font_sizeIntegerFont size in pixels

Duration format

Durations can be specified as:

FormatExampleResult
Seconds30s30 seconds
Minutes2m2 minutes
Hours1h1 hour
Combined1m 30s1 minute 30 seconds