Commit eae5029
committed
Improve code blocks configuration
Enables:
* Highlighting specific lines:
https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#highlighting-specific-lines
* Add a pygments language class, so the style can be customized per
language:
https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#+pymdownx.highlight.pygments_lang_class
* Make each line of a block linkeable:
https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#+pymdownx.highlight.anchor_linenums
* Add a span per line (only necessary for the features above to work):
https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#+pymdownx.highlight.line_spans
Signed-off-by: Leandro Lucarella <[email protected]>1 parent b300e3c commit eae5029
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
70 | 74 | | |
71 | 75 | | |
72 | 76 | | |
| |||
0 commit comments