Toggle Searchbar
GitHub
Dark Theme
Light Theme
Open Sidebar Menu
Close Sidebar Menu
Introduction
Command Line Tool
Format
book.typ
Book Metadata
Build Metadata
ThemeTypst Support
Cross Reference
Embed Sanitized HTML Elements
Semantic Page Description
Rendering Tests
== Subsection
= Math equation $f = lambda x . x$ in heading
#let p = "/supports/cross-ref-sample.typ"
- #cross-link(p)[cross reference to the sample page]
#let sub = heading-reference[= Subsection]
- #cross-link(p, reference: sub)[cross reference to ```typ == Subsection``` in the sample page]
#let ref-head = "= Math equation $f = lambda x . x$ in heading"
#let sub = heading-reference(eval(ref-head, mode: "markup"))
- #cross-link(p, reference: sub)[cross reference to #raw(lang: "typ", ref-head) in the sample page]