1. Introduction
  2. User Guide
  3. 1. Installation
  4. 2. Get Started
  5. 3. Frequently Asked Questions
  6. 4. Further reading
  7. Reference Guide
  8. 5. Command Line Tool
    1. 5.1. init
    2. 5.2. build
    3. 5.3. serve
    4. 5.4. clean
    5. 5.5. completions
  9. 6. Format
    1. 6.1. book.typ
      1. 6.1.1. Book Metadata
        1. 6.1.1.1. Draft chapter
      2. 6.1.2. Build Metadata
    2. 6.2. Theme
    3. 6.3. Typst Support
      1. 6.3.1. Cross Reference
        1. 6.3.1.1. Cross Reference Sample
      2. 6.3.2. Embed Sanitized HTML Elements
        1. 6.3.2.1. Multimedia components
      3. 6.3.3. Semantic Page Description
    4. 6.4. Rendering Tests
  10. 7. For developers
    1. 7.1. Typst-side APIs
    2. 7.2. shiroa CLI Internals
    3. 7.3. Alternative Backends

shiroa

  • cross reference to the sample page
  • cross reference to == Subsection in the sample page
  • cross reference to == Math equation $f = lambda x . x$ in heading in the sample page

#

List of Code


        
#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]