Getting Started with Slides

Each slide shows one layout.

Use the ← → keys, scroll, or swipe to move.
Introduction

Shortcuts

  1. F Fullscreen
  2. T Theme
  3. Q QR code
  4. O Overview

1. Text

  1. Basic slide
  2. Statement
  3. Reveal
1. Text

Basic slide

Sources look like this
1. Text

One message per slide.

1. Text

Step-by-step reveal

2. Organizing information

  1. Definitions
  2. Cases
  3. Table
  4. Numbers
2. Organizing information

Definitions

Deck
A set of slides that make up one talk
Slide
A section.slide that fills one screen
Token
A --slide-* variable a deck can override
2. Organizing information

Listing cases

Fullscreen
Turn it on with the F key or the context menu
Theme
Follows the blog theme; switch with the T key
Share
Add #4 to the URL to share the current slide
PDF
Print one slide per page from the menu
2. Organizing information

Deck file structure

FileRole
index.astroroutedThe deck body that holds the slides
_meta.tsnot routedTitle, date, description
_draft.mdnot routedDraft of the slide outline
2. Organizing information

By the numbers

Layouts
12
Shortcuts
4
Messages per slide
1

3. Layout and flow

  1. Text and image
  2. Two columns
  3. Folder tree
  4. Steps
3. Layout and flow

Text and image

Side by side on wide screens, stacked on narrow screens.

  • Set the image ratio in --ratio
  • Cap the height with --figure-max-height
Overview screen showing every slide as a thumbnail
3. Layout and flow

Two-column comparison

Fluid layout

Text and spacing adapt to the screen with vw and clamp.

Fixed stage

Scales a whole 1920×1080 screen up or down.

3. Layout and flow

Folder structure

src/pages/slides/<slug>/
├── index.astro   # deck body
├── _meta.ts      # title, date
└── _draft.md     # draft
3. Layout and flow

Steps and timeline

  1. Draft
  2. Build slides
  3. Check screenshots
  4. Present

E.O.D

Thanks for watching.

Click to copy URL · ESC or Q to close