From 575431149400fcccb87d69ac7325d81d97686ef6 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Tue, 21 Jun 2022 08:00:17 -0700 Subject: [PATCH] Only syntax highlight if a code-block is used Refs #447 --- docs/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 1b1c4f1..d9ebc4b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -85,6 +85,9 @@ exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] # The name of the Pygments (syntax highlighting) style to use. pygments_style = "sphinx" +# Only syntax highlight of code-block is used: +highlight_language = "none" + # If true, `todo` and `todoList` produce output, else they produce nothing. todo_include_todos = False