typst-syntax-expert
Installation
SKILL.md
Typst Syntax Expert
Based on Typst's official documentation. Typst is a modern markup-based typesetting system.
Three Modes
Typst has three syntactical modes:
| Mode | How to enter | Example |
|---|---|---|
| Markup | Default in .typ files |
= Heading, *bold* |
| Math | Surround with $...$ |
$x^2 + y^2 = z^2$ |
| Code | Prefix with # or inside {...} |
#let x = 1, #if x > 0 {...} |
Once in code mode with #, no further # is needed until returning to markup.