Replies: 2 comments 2 replies
-
I think it is reasonable that we could add support for
|
Beta Was this translation helpful? Give feedback.
2 replies
-
Just to update this conversation. Code blocks do allow specifying IDs, and now when things like line spans and line anchors are enabled for code blocks, that generate IDs as well, the IDs will utilize the main code block's ID to generate those related IDs. |
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
-
Hi, this stemmed from this discussion in mkdocs-material: squidfunk/mkdocs-material#5083 (comment).
The gist of this idea is to allow code block extension to be provisioned with a custom
id
element, that downstream engines could leverage to make persistent ID elements used to refer to the code blocks in a predictable manner.Beta Was this translation helpful? Give feedback.
All reactions