quarto-dev / quarto-dev/quarto-cli
In Typst output, Quarto doesn't add identifier as label if `.unlisted` or `.unnumbered` is present as Pandoc does
Open
@cderv is already working on this.
Since Nov 17, 2025.
enhancement
typst
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
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>
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.