headline-card
Installation
SKILL.md
LWT-Style Headline Cards for Typst Presentations
Creates "Last Week Tonight"-style headline cards: dark cards with a red date badge, publication logo (SVG), bold headline, and an italic pull quote. Data-driven from JSON so cards stay decoupled from slide markup.
Architecture
presentation/
├── templates/theme.typ ← headline-card() function lives here
├── data/headlines.json ← card data (venue, date, headline, quote, logo)
├── assets/logos/*-white.svg ← white-on-transparent SVG logos
└── slides.typ ← loops over JSON to emit one slide per card
The Typst function (headline-card) already exists in theme.typ. This skill is about adding new cards correctly — getting the JSON right, preparing logos, and avoiding the path/sizing pitfalls that cost hours of iteration.
Step 1: Prepare the JSON Entry
Add an object to data/headlines.json: