From a08d505bfe86ea4adb421e3643e1e28a368cca08 Mon Sep 17 00:00:00 2001 From: Kyle Gabriel Date: Sun, 29 Sep 2024 21:22:59 -0400 Subject: [PATCH] Fix syntax highlighting in docs --- docs/requirements.txt | 12 ++++++------ mkdocs.yml | 8 +++++++- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index c9a128d6f..9127874d9 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,7 +1,7 @@ -mkdocs[i18n]==1.4.2 -mkdocs-i18n==0.4.4 -mkdocs-material==8.5.7 -mkdocs-minify-plugin==0.6.1 +mkdocs[i18n]==1.6.1 +mkdocs-i18n==0.4.6 +mkdocs-material==9.5.39 +mkdocs-minify-plugin==0.8.0 mkdocs-with-pdf==0.9.3 -Pillow==9.3.0 -Pygments>=2.13.0 # syntax highlighting +Pillow==10.4.0 +Pygments==2.18.0 # syntax highlighting diff --git a/mkdocs.yml b/mkdocs.yml index dca2e6af7..953a5a3a1 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -91,7 +91,13 @@ markdown_extensions: - pymdownx.emoji: - pymdownx.betterem - pymdownx.caret - - codehilite + - pymdownx.highlight: + anchor_linenums: true + line_spans: __span + pygments_lang_class: true + - pymdownx.inlinehilite + - pymdownx.snippets + - pymdownx.superfences - meta nav: