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

Cannot add captions to code examples #800

Open
asmeurer opened this issue May 16, 2023 · 1 comment
Open

Cannot add captions to code examples #800

asmeurer opened this issue May 16, 2023 · 1 comment

Comments

@asmeurer
Copy link

I want to add a caption to a code example, but this feature appears to be Sphinx only, but the paper builder is using pure docutils. See https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-option-code-block-caption

Is there any way to achieve this?

@deniederhut
Copy link
Member

😕 not that I'm aware of, but I am also not a docutils expert.

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

2 participants