mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-18 21:11:19 +02:00
highlight: Remove some pygments references
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
3f38c785b7
commit
d966f5d08d
@@ -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")
|
||||
|
Reference in New Issue
Block a user