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:

image

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

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.