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

@@ -28,7 +28,7 @@ type hugoHTMLRenderer struct {
}
// BlockCode renders a given text as a block of code.
// Pygments is used if it is setup to handle code fences.
// Chroma is used if it is setup to handle code fences.
func (r *hugoHTMLRenderer) BlockCode(out *bytes.Buffer, text []byte, lang string) {
if r.c.cfg.MarkupConfig.Highlight.CodeFences {
str := strings.Trim(string(text), "\n\r")