From 4f4c1b868efaeff20743965a8374f5a3efa2489d Mon Sep 17 00:00:00 2001 From: Kaushal Modi Date: Mon, 25 Sep 2017 13:13:12 -0400 Subject: [PATCH] Specify to use Python Pygments instead of Go Chroma -- hugo 0.28+ --- doc/config.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/config.toml b/doc/config.toml index b220371..03b19cf 100644 --- a/doc/config.toml +++ b/doc/config.toml @@ -32,6 +32,9 @@ pygmentsCodeFences = true # See https://gohugo.io/tools/syntax-highlighting/#pygments and # https://github.com/richleland/pygments-css pygmentsUseClasses = true +# hugo 0.28+ -- Switched to Go Chroma syntax highlighter by default. +# Below sets the syntax highlighter back to Python Pygments. +pygmentsUseClassic=true # Fri Sep 22 15:50:42 EDT 2017 - kmodi # Disabling Emoji otherwise the ":abc:" portion in `* foo :abc:def:`