1
#let p = "/format/supports/cross-ref-sample.typ"
2
- #cross-link(p)[cross reference to the sample page]
3
#let sub = heading-reference[== Subsection]
4
- #cross-link(p, reference: sub)[cross reference to ```typ == Subsection``` in the sample page]
5
#let ref-head = "== Math equation $f = lambda x . x$ in heading"
6
#let sub = heading-reference(eval(ref-head, mode: "markup"))
7
- #cross-link(p, reference: sub)[cross reference to #raw(lang: "typ", ref-head) in the sample page]
1
#let p = "/format/supports/cross-ref-sample.typ"
2
- #cross-link(p)[cross reference to the sample page]
3
#let sub = heading-reference[== Subsection]
4
- #cross-link(p, reference: sub)[cross reference to ```typ == Subsection``` in the sample page]
5
#let ref-head = "== Math equation $f = lambda x . x$ in heading"
6
#let sub = heading-reference(eval(ref-head, mode: "markup"))
7
- #cross-link(p, reference: sub)[cross reference to #raw(lang: "typ", ref-head) in the sample page]