Skip to content

Commit a5a91c2

Browse files
author
Sylvain MARIE
committed
Fixed code highlighting in docs
1 parent c32773d commit a5a91c2

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

docs/mkdocs.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@ nav:
77
- Home: index.md
88
- Usage details: usage.md
99
- Changelog: changelog.md
10+
1011
theme: material # readthedocs mkdocs
1112

1213
markdown_extensions:
14+
- pymdownx.highlight # see https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#highlight
15+
- pymdownx.superfences # same as above as well as code blocks inside other blocks
1316
- admonition # to add notes such as http://squidfunk.github.io/mkdocs-material/extensions/admonition/
14-
- codehilite:
15-
guess_lang: false
17+
# - codehilite:
18+
# guess_lang: false
1619
- toc:
17-
permalink: true
20+
permalink: true

0 commit comments

Comments
 (0)