Skip to content
Discussion options

You must be logged in to vote

Perfectly reasonable request. For this to work, we need to tell the Highlight extension to allow for persistent code block ids. Thus, this would need to be supported upstream in Python Markdown Extensions. Envisioned sample use:

``` .py id="foobar"
print("Hello world")
``` 

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@facelessuser
Comment options

@facelessuser
Comment options

@squidfunk
Comment options

@squidfunk
Comment options

@facelessuser
Comment options

Answer selected by squidfunk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants