From f52e3aca638e593e38fa48878d9026fef93584d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Sun, 28 Apr 2024 11:25:25 +0200 Subject: [PATCH] docs(website): Enable code highlighting See https://squidfunk.github.io/mkdocs-material/reference/code-blocks/ --- docs/website/mkdocs.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/website/mkdocs.yml b/docs/website/mkdocs.yml index 9dd0ba4..6fb323b 100644 --- a/docs/website/mkdocs.yml +++ b/docs/website/mkdocs.yml @@ -65,6 +65,11 @@ markdown_extensions: - md_in_html - pymdownx.details - pymdownx.superfences + - pymdownx.highlight: + anchor_linenums: true + line_spans: __span + pygments_lang_class: true + - pymdownx.inlinehilite edit_uri: edit/main/docs/website/docs -- 2.51.2