Invoke margin links inside sphinx-proof blocks
ShashShukla opened this issue · comments
I would like to add a link in the margin of a jupyter-book, referring to text inside a sphinx-proof block, from within the sphinx-proof block. A generic example:
````{prf:example}
Text.
```{margin} Relevant reference
[link](/URL)
```
```{figure} /figure-path
:name: fig
Caption.
```
````
While the text and image render inside the example block as desired, the margin link is rendered in the margin of the sphinx-proof block instead of in the "global" book margin. A way to thus render the margin link in the "global" margin instead would be very helpful.
Version information:
- sphinx: 4.3.0
- sphinx-proof: 0.1.3
- jupyter-sphinx: 0.3.2
- sphinx-book-theme: 0.1.1
- jupyter-book: 0.12.0
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! 🎉