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

Allow caption for code fences #823

Open
asymmetric opened this issue Nov 4, 2023 · 1 comment
Open

Allow caption for code fences #823

asymmetric opened this issue Nov 4, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@asymmetric
Copy link

asymmetric commented Nov 4, 2023

Describe the feature you'd like to request

I'd like for fenced code blocks to support the caption attribute.

Right now if I want captions on code blocks, I have to use ```{code-block} $LANG` form, which has two issues:

  • no syntax highlighting in most editors, since they don't know about this form
  • the myst_number_code_blocks directive doesn't apply (this might be a separate bug)

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

@asymmetric asymmetric added the enhancement New feature or request label Nov 4, 2023
Copy link

welcome bot commented Nov 4, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant