Why does the first approach not work but the second does in making the figure become inline?
// first approach
#{
show figure: box
figure(lorem(10), caption: [some lorem words])
}
// second approach
#box(figure(lorem(10), caption: [some lorem words]))
I’m confused why the first doesn’t work but changing the show rule to be show figure: it => box(stroke: 1pt, it) does apply the stroke but does not make the figure inline.