Skip to content

In Typst output, Quarto doesn't add identifier as label if .unlisted or .unnumbered is present as Pandoc does #13698

@cderv

Description

@cderv

Discussed in https://github.com/orgs/quarto-dev/discussions/13697

Originally posted by the-solipsist November 17, 2025

Description

Quarto support Pandoc's header_attributes. But if .unnumbered or .unlisted is used, then the identifier doesn't get applied as a Typst label.

## Funding {#frontmatter .unnumbered .unlisted}
{{< lipsum 1 >}}

// no  label

# Introduction {#intro}
{{< lipsum 3 >}}

// label: <intro>

## H2: Main Section
{{< lipsum 3 >}}

// label: <h2-main-section>
#block[
#heading(
level: 
2
, 
numbering: 
none
, 
outlined: 
false
, 
[
Funding
]
)
]
...
= Introduction
<intro>
...
== H2: Main Section
<h2-main-section>

Further details:

❯ quarto --version
1.8.25
❯ lsb_release -a
LSB Version:	n/a
Distributor ID:	EndeavourOS
Description:	EndeavourOS Linux
Release:	rolling
Codename:	rolling
```</div>

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions