Commit b02d0bc
Enable syntax highlighting in the markdown docs
mkdocs.yaml had no markdown_extensions block, so the fenced blocks in index.md,
workflow.md, api.md and basicusage.md rendered as unstyled <pre>: mkdocs' builtin
fenced_code marks a block up but nothing colours it. Add pymdownx.highlight and
superfences (plus admonition/attr_list/details, matching iscc) and label the one
unlabelled fence, the pip install in index.md, as bash.
Verified in the built HTML rather than just a passing build: 25 highlight blocks
across the four pages, and workflow.md's tables still render (toc/tables/
fenced_code are mkdocs builtins and survive an explicit extensions block).
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent c8c4865 commit b02d0bc
2 files changed
Lines changed: 20 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
32 | 51 | | |
33 | 52 | | |
34 | 53 | | |
| |||
0 commit comments