From d899fbacc3d12be9e35bfe4ef3b30b5fac7f72a8 Mon Sep 17 00:00:00 2001 From: Alex Earnshaw Date: Sat, 19 Sep 2020 10:09:39 +0100 Subject: [PATCH 1/2] Add config param for prism relates to https://github.com/google/docsy/pull/325/ --- config.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.toml b/config.toml index da6c9d80313..5c092fa0634 100644 --- a/config.toml +++ b/config.toml @@ -120,6 +120,9 @@ algolia_docsearch = false # Enable Lunr.js offline search offlineSearch = false +# Enable syntax highlighting and copy buttons on code blocks with Prism +prism_syntax_highlighting = true + # User interface configuration [params.ui] # Enable to show the side bar menu in its compact state. From d498074e7c56a184bbc2e29c1f43ab7c6552ca11 Mon Sep 17 00:00:00 2001 From: Alex Earnshaw Date: Sat, 19 Sep 2020 11:02:53 +0100 Subject: [PATCH 2/2] Set the prism option to false by default --- config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 5c092fa0634..b8a54d055cf 100644 --- a/config.toml +++ b/config.toml @@ -121,7 +121,7 @@ algolia_docsearch = false offlineSearch = false # Enable syntax highlighting and copy buttons on code blocks with Prism -prism_syntax_highlighting = true +prism_syntax_highlighting = false # User interface configuration [params.ui]