highlight: Remove some pygments references

This commit is contained in:
Helder Pereira
2021-08-21 11:46:18 +01:00
committed by Bjørn Erik Pedersen
parent 3f38c785b7
commit d966f5d08d
10 changed files with 9 additions and 15 deletions

View File

@@ -278,7 +278,6 @@ func (l configLoader) applyConfigDefaults() error {
"disablePathToLower": false,
"hasCJKLanguage": false,
"enableEmoji": false,
"pygmentsCodeFencesGuessSyntax": false,
"defaultContentLanguage": "en",
"defaultContentLanguageInSubdir": false,
"enableMissingTranslationPlaceholders": false,

View File

@@ -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

View File

@@ -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)
})