Is there any way to automatically add linenums with snippets? #5345
HydrogenSulfate
started this conversation in
Ideas
Replies: 1 comment
-
Good question! I recommend asking this on Python Markdown Extensions, that provides the Snippets extension – we're only rendering what we get from Snippets / MkDocs 😉 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use material with snippets for some tutorials, I set code blocks in it and set aligned linenums with source code as blow.
But I find it not convinent when I change the source code, I must modify the linenums in codeblocks, so is there any way to automatically keep linenums same as start linenum of a snippet? such as using "auto"?
Beta Was this translation helpful? Give feedback.
All reactions