mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-02 22:52:51 +02:00
highlight: Remove some pygments references
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
3f38c785b7
commit
d966f5d08d
@@ -278,7 +278,6 @@ func (l configLoader) applyConfigDefaults() error {
|
||||
"disablePathToLower": false,
|
||||
"hasCJKLanguage": false,
|
||||
"enableEmoji": false,
|
||||
"pygmentsCodeFencesGuessSyntax": false,
|
||||
"defaultContentLanguage": "en",
|
||||
"defaultContentLanguageInSubdir": false,
|
||||
"enableMissingTranslationPlaceholders": false,
|
||||
|
@@ -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
|
||||
|
@@ -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)
|
||||
})
|
||||
|
Reference in New Issue
Block a user