Typst Supports - Cross Reference
- cross reference to the sample page
- cross reference to
== Subsection== Subsectionin the sample page - cross reference to
= Math equation $f = lambda x . x$ in heading= Math equation $f = lambda x . x$ in headingin the sample page
#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]
#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]