Skip to content

Commit

Permalink
doc: try to fix code highlighting on docs site
Browse files Browse the repository at this point in the history
  • Loading branch information
philiplinden committed Aug 6, 2024
1 parent 52177b9 commit 0ac9766
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ theme:
accent: green
features:
- content.code.copy
- content.code.select
- navigation.instant
- navigation.instant.progress
- navigation.tabs
Expand All @@ -43,8 +44,8 @@ markdown_extensions:
- footnotes # enables inline footnotes by using [^1] to mark and [^1]: to define
- pymdownx.mark # enables markdown highlighting with `==text==` syntax
- pymdownx.tilde # enables markdown strikethrough with `~~text~~` syntax
- pymdownx.snippets # grabs snippets from files instead of copy/pasting (https://facelessuser.github.io/pymdown-extensions/extensions/snippets/)
- pymdownx.inlinehilite
- pymdownx.superfences # prerequisite for code highlighting
- pymdownx.inlinehilite # in line code syntax highlights
- pymdownx.highlight:
anchor_linenums: true
use_pygments: true
Expand Down

0 comments on commit 0ac9766

Please sign in to comment.