I try to use this:
#show figure.where(kind: image, caption: none): it => {
counter(figure.where(kind: image)).update(v => v - 1)
it.body
}
But I think it maybe will make some information lost.
I try to use this:
#show figure.where(kind: image, caption: none): it => {
counter(figure.where(kind: image)).update(v => v - 1)
it.body
}
But I think it maybe will make some information lost.
Hi there @LRoInT
I would think that this is sufficient and would ensure no information lost:
#show figure.where(kind: image, caption: none): it => {
counter(figure.where(kind: image)).update(v => v - 1)
// it.body
it
}