Skip to content

Commit 8df7751

Browse files
authored
Merge pull request #9129 from quarto-dev/fix/typst-figure-supplement-auto
typst figure.supplement can be auto
2 parents ab6a94d + a6421cf commit 8df7751

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/resources/formats/typst/pandoc/quarto/definitions.typ

+2-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@
100100

101101
#show ref: it => locate(loc => {
102102
let target = query(it.target, loc).first()
103-
if it.at("supplement", default: none) == none {
103+
let suppl = it.at("supplement", default: none)
104+
if suppl == none or suppl == auto {
104105
it
105106
return
106107
}

0 commit comments

Comments
 (0)