Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invoke margin links inside sphinx-proof blocks #94

Open
ShashShukla opened this issue Dec 26, 2022 · 1 comment
Open

Invoke margin links inside sphinx-proof blocks #94

ShashShukla opened this issue Dec 26, 2022 · 1 comment

Comments

@ShashShukla
Copy link

ShashShukla commented Dec 26, 2022

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
@welcome
Copy link

welcome bot commented Dec 26, 2022

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! 🎉

@ShashShukla ShashShukla changed the title Cannot invoke margin links inside sphinx-proof blocks Invoke margin links inside sphinx-proof blocks Dec 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant