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
Aperta
@cderv ci sta già lavorando.
Dal 17/11/2025.
enhancement
typst
- Lingua principale
- JavaScript
- Stelle
- 6k
- Fork
- 458
- Merge medio
- 1g 9h
- PR unite (30g)
- 41
Descrizione
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>
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.