E-Ink News Daily

← Back to list

Open Graph images with Astro and Typst

The author describes building an automated pipeline that generates Open Graph image cards at build-time using Typst instead of manually selecting stock photos. Typst, described as a blend of LaTeX and Markdown, compiles markup into high-quality PNGs, and when integrated with Astro, produces consistent social media preview images automatically.

Background

Open Graph meta tags control how links appear when shared on social media platforms. Astro is a popular static site generator, and Typst is an emerging typesetting language that serves as a modern alternative to LaTeX.

Source
Lobsters
Published
Nov 10, 2026 at 07:42 PM
Score
5.0 / 10