In Typst output, Quarto doesn't add identifier as label if .unlisted or .unnumbered is present.
#13697
-
DescriptionQuarto support Pandoc's header_attributes. But if ## 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: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Thanks for the reporting - I think this may be a difference with pandoc as we handle it directly in Quarto quarto-cli/src/resources/filters/quarto-post/typst.lua Lines 55 to 73 in c9008d7 Pandoc does now handle it and set Unumbered is supported since pandoc 3.1.13 (may 2024) - so more recently We should probably adapt. edit: tracked in |
Beta Was this translation helpful? Give feedback.
Thanks for the reporting - I think this may be a difference with pandoc as we handle it directly in Quarto
quarto-cli/src/resources/filters/quarto-post/typst.lua
Lines 55 to 73 in c9008d7