Skip to content
Discussion options

You must be logged in to vote

The syntax for code blocks is:

```{ .python .extra-class }
import hello_world
```

See the Python Markdown Extensions docs for more guidance:
https://facelessuser.github.io/pymdown-extensions/extensions/superfences/#injecting-classes-ids-and-attributes

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@smarie
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
2 participants