Additionally
it => [
→it => {
#let kind = none
→let kind
- caption is a block element, so block wrapper is needed
- no-break space should be used after supplement
- A lot of same issues as in How to properly justify text in a figure caption? - #4 by Andrew
#show: template.with()
→#show: template