Skip to content

Commit 19a6f33

Browse files
Captions should be wrapped in a block
1 parent 623343c commit 19a6f33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@
8282

8383
show figure: it => {
8484
let num = numbering(subcapnumbering, n-super, quartosubfloatcounter.get().first() + 1)
85-
show figure.caption: it => {
85+
show figure.caption: it => block({
8686
num.slice(2) // I don't understand why the numbering contains output that it really shouldn't, but this fixes it shrug?
8787
[ ]
8888
it.body
89-
}
89+
})
9090

9191
quartosubfloatcounter.step()
9292
it

0 commit comments

Comments
 (0)