From 5a5697273b9a1173c74b420e8e983e484980f259 Mon Sep 17 00:00:00 2001 From: corpserot <144787680+corpserot@users.noreply.github.com> Date: Tue, 3 Oct 2023 18:34:24 +0000 Subject: [PATCH] lua_api_deploy: fix code blocks parsing (#13847) --- doc/mkdocs/build.sh | 4 +++- doc/mkdocs/requirements.txt | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/mkdocs/build.sh b/doc/mkdocs/build.sh index 12266441c..7f837866f 100755 --- a/doc/mkdocs/build.sh +++ b/doc/mkdocs/build.sh @@ -14,7 +14,9 @@ extra_css: markdown_extensions: - toc: permalink: True - - codehilite + - pymdownx.superfences + - pymdownx.highlight: + css_class: codehilite plugins: - search: separator: '[\s\-\.\(]+' diff --git a/doc/mkdocs/requirements.txt b/doc/mkdocs/requirements.txt index 522de3aa7..e67f3d07f 100644 --- a/doc/mkdocs/requirements.txt +++ b/doc/mkdocs/requirements.txt @@ -1,2 +1,3 @@ mkdocs~=1.4.3 pygments~=2.15.1 +pymdown-extensions~=10.3 \ No newline at end of file