Skip to content

Callout cross-referencing works in Typst #13543

@mvuorre

Description

@mvuorre

What would you like to do?

Report an issue on quarto.org

Description

Contrary to what is said at https://quarto.org/docs/authoring/callouts.html#cross-references "Cross-referencing callouts is currently only supported for HTML, PDF and MS Word.", cross-referencing callouts works in Typst.

This document:

---
title: Typst callout testing
format: typst
callout-icon: false
callout-appearance: simple
---

::: {#nte-example .callout-note}
## Cross-Referencing a note

Add an ID starting with `#nte-` to reference a note.
:::

See @nte-example...

::: {#tip-example .callout-tip}
## Cross-Referencing a tip

Add an ID starting with `#tip-` to reference a tip.
:::

See @tip-example...

::: {#wrn-example .callout-warning}
## Cross-Referencing a warning

Add an ID starting with `#wrn-` to reference a warning.
:::

See @wrn-example...

::: {#imp-example .callout-important}
## Cross-Referencing a important

Add an ID starting with `#imp-` to reference a important.
:::

See @imp-example...

::: {#cau-example .callout-caution}
## Cross-Referencing a caution

Add an ID starting with `#cau-` to reference a warning.
:::

See @cau-example...

Produces this document

Image

It could also report that callout rendering works in Typst (contrary to https://quarto.org/docs/authoring/callouts.html#format-support), but it is true that callout-icon: false and callout-appearance: simple have no effect in Typst (as shown above.)

Metadata

Metadata

Assignees

Labels

documentationDoc improvements & quarto-web

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions