Skip to content

Instantly share code, notes, and snippets.

View kjohnsen's full-sized avatar

Kyle Johnsen kjohnsen

View GitHub Profile
@Dragonink
Dragonink / README.md
Created February 13, 2025 11:47
How to Typst + PanDiff

How to Typst + PanDiff

  1. Prepare a diff.typ source file as shown in this Gist.
  2. Provided you have two Typst SOURCE files named a.typ and b.typ, execute:
    pandiff --from typst --to typst a.typ b.typ > diff.content.typ
  3. Compile the diff.typ file:

typst compile diff.typ