Figure outline customization (number+caption) in Typst 0.13

@laurmaedje @flokl I now have this:

      link(loc,
        box(numbering(it.element.numbering, ..it.element.counter.at(it.element.location())), width: 2.6em)  // figure number
        + it.body()                     // figure caption
        + box(it.fill, width: 1fr)
        + it.page()
      )

And the output is this:

Screenshot_20250205_214426

When it should be this:

(ignore 1.3/1.4/B.2, since those three are commented out in 0.13 for now due to an issue I’ll post about later)