Code annotations after caption in labeled container divs?

I am trying to get code annotations to play nicely with captions. Kind of remarkably, it mostly works, but I would like the caption to come immediately after the code and the annotations to follow.

Suggestions?

::: {#fig-learnxmp}
```xml
<context-info>
  <url>file:/Volumes/.../1051-Learn.mp4</url>           # <1>
```
1. Testing annotations.


Caption

:::

Output:

I don't think we have a way to put something here; You would probably need to post process the HTML for now (using JS) to achieve this.

We need also to fix some issue with code-annotation and fig-cap-location