mirror of
https://github.com/typst/typst
synced 2025-05-15 09:35:28 +08:00
10 lines
229 B
Typst
10 lines
229 B
Typst
// Issue #2821: Setting a figure's supplement to none removes the field
|
|
// Ref: false
|
|
|
|
---
|
|
#show figure.caption: it => {
|
|
assert(it.has("supplement"))
|
|
assert(it.supplement == none)
|
|
}
|
|
#figure([], caption: [], supplement: none)
|