-
Notifications
You must be signed in to change notification settings - Fork 650
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
Render code cells with line numbers #1580
Comments
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗 |
Inspired by readthedocs/sphinx_rtd_theme#1168 this worked for me in both HTML and
Duplicate issue #1254 |
This was added in executablebooks/MyST-NB#380, available as |
closing as duplicate |
Description / Summary
It would be nice to enable the rendering of
code-cell
with the line numbers. This functionality is available in thecode-block
but these blocks are not run when compiling the book. I looked at the documentation but did not find any way to enable that.Value / benefit
This would enable the text to easily mention specific lines of code when the code has more than a few lines.
Implementation details
No response
Tasks to complete
No response
The text was updated successfully, but these errors were encountered: