glitu

Presentations in markdown. No mouse was harmed.

Write text.

Write text.

Get slides.

Write text.

Get slides.

That's the whole trick.

A text file

  • A title
  • A slide, its clicks: @1, @2
  • A diagram, in text too
  • This very deck: the same, with a logo
slides.md
---
title: My talk
------
title: My talk
---

## Hello

- Markdown in @1
- Slides out @2---
title: My talk
---

## Hello

- Markdown in @1
- Slides out @2

## How

```skemo
card#me You  @1
  to(talk) write
card#talk A talk  @2
```---
lang: en
title: glitu
subtitle: Presentations in markdown. No mouse was harmed.
author: The glitu project
font-title: Poppins
font-mono: Fira Code
logo: img/glitu-logo.svg
---
slides.md
diagram(dir="down")
  card#md.file(icon="file-text") slides.md
    | markdowndiagram(dir="down")
  card#md.file(icon="file-text") slides.md
    | markdown
    to(cli)  @1
  card#cli.tool(icon="terminal") glitu  @1:zoom @3-4:halo
    | one commanddiagram(dir="down")
  card#md.file(icon="file-text") slides.md
    | markdown
    to(cli)  @1
  card#cli.tool(icon="terminal") glitu  @1:zoom @3-4:halo
    | one command
    to(web)  @2
    to(pdf)  @2
    to(pptx)  @2
  zone#out.output What you get  @2:up
    card#web.output(icon="globe") A web page
    card#pdf.output(icon="file-down") A PDF
    card#pptx.output(icon="presentation") A PowerPoint
      | for your boss
{"skemo":1,"source":"diagram(dir=\"down\")\n card#md.file(icon=\"file-text\") slides.md\n | markdown\n to(cli) @1\n card#cli.tool(icon=\"terminal\") glitu @1:zoom\n | one command\n to(web) @2\n to(pdf) @2\n to(pptx) @2\n zone#out.output What you get @2:up\n card#web.output(icon=\"globe\") A web page\n card#pdf.output(icon=\"file-down\") A PDF\n card#pptx.output(icon=\"presentation\") A PowerPoint\n | for your boss\n","css":[{"name":"skemo.css","content":"/* Types of the skemo diagrams, matched to the theme of the presentation (blue → cyan accent).\n The text size for projection comes from glitu.yaml (skemo.fontScale),\n or from the block itself: ```skemo font-scale=\"2\" */\n.workstation { --c: #64748b; }\n.cluster { --c: #3b82f6; }\n.node { --c: #64748b; }\n.tool { --c: #0891b2; --label: \"CLI\"; }\n.system { --c: #2563eb; --label: \"API\"; }\n.agent { --c: #4f46e5; --label: \"AGENT\"; }\n.app { --c: #ea580c; --label: \"APP\"; }\n.pod { --c: #2563eb; --label: \"POD\"; }\n.service { --c: #0891b2; --label: \"SVC\"; }\n.svc-network { --c: #ca8a04; }\n.milestone { --c: #22d3ee; }\n/* Generic types, for any diagram */\n.file { --c: #64748b; --label: \"FILE\"; }\n.output { --c: #0891b2; --label: \"OUTPUT\"; }\n.user { --c: #7c3aed; --label: \"USER\"; }\n.data { --c: #059669; --label: \"DATA\"; }\n\n/* Diagram types of the demo, next to the theme's own */\n.file { --c: #64748b; }\n.tool { --c: #2563eb; }\n.output { --c: #0891b2; }\n"}],"font_scale":1.35}FILEslides.mdmarkdownCLIglituone commandWHAT YOU GETOUTPUTA web pageOUTPUTA PDFOUTPUTA PowerPointfor your boss

glitu build

  • One page, nothing else needed
  • A PDF
  • A PowerPoint, as promised
~/talks/demo

Look closer

  • Nothing to see here…
  • …or is there?

Big Buck Bunny, © Blender Foundation, CC BY 3.0

The same slide in each theme

theme: paper in the front matter

We could list it all. Or you could read the fine manual.

Your turn

glitu.net

Free and open source