Line numbers in code block #343
Unanswered
spring-haru
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Have you tried this? This works for me. https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html?highlight=line%20number#showing-code-examples |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried to find how to add line numbers in code block, but no chance. Is there a global option to turn it on?
Beta Was this translation helpful? Give feedback.
All reactions