diff options
Diffstat (limited to 'hugolib')
-rw-r--r-- | hugolib/config.go | 1 | ||||
-rw-r--r-- | hugolib/embedded_shortcodes_test.go | 4 | ||||
-rw-r--r-- | hugolib/shortcode_test.go | 4 |
3 files changed, 4 insertions, 5 deletions
diff --git a/hugolib/config.go b/hugolib/config.go index 945d9eec6..aa9c81104 100644 --- a/hugolib/config.go +++ b/hugolib/config.go @@ -278,7 +278,6 @@ func (l configLoader) applyConfigDefaults() error { "disablePathToLower": false, "hasCJKLanguage": false, "enableEmoji": false, - "pygmentsCodeFencesGuessSyntax": false, "defaultContentLanguage": "en", "defaultContentLanguageInSubdir": false, "enableMissingTranslationPlaceholders": false, diff --git a/hugolib/embedded_shortcodes_test.go b/hugolib/embedded_shortcodes_test.go index 53ad2fe8e..b56368ddd 100644 --- a/hugolib/embedded_shortcodes_test.go +++ b/hugolib/embedded_shortcodes_test.go @@ -104,8 +104,8 @@ void do(); th = newTestHelper(cfg, fs, t) ) - cfg.Set("pygmentsStyle", "bw") - cfg.Set("pygmentsUseClasses", false) + cfg.Set("markup.highlight.style", "bw") + cfg.Set("markup.highlight.noClasses", true) writeSource(t, fs, filepath.Join("content", "simple.md"), fmt.Sprintf(`--- title: Shorty diff --git a/hugolib/shortcode_test.go b/hugolib/shortcode_test.go index 7eb0d01de..6ef110c9b 100644 --- a/hugolib/shortcode_test.go +++ b/hugolib/shortcode_test.go @@ -619,8 +619,8 @@ title: "Foo" cfg.Set("uglyURLs", false) cfg.Set("verbose", true) - cfg.Set("pygmentsUseClasses", true) - cfg.Set("pygmentsCodefences", true) + cfg.Set("markup.highlight.noClasses", false) + cfg.Set("markup.highlight.codeFences", true) cfg.Set("markup", map[string]interface{}{ "defaultMarkdownHandler": "blackfriday", // TODO(bep) }) |