aboutsummaryrefslogtreecommitdiffhomepage
path: root/markup/blackfriday
diff options
context:
space:
mode:
authorHelder Pereira <[email protected]>2021-08-21 11:46:18 +0100
committerBjørn Erik Pedersen <[email protected]>2021-08-21 15:50:49 +0200
commitd966f5d08d7f75f1ae9acd94e292bf61de2adf0d (patch)
tree38e8f633a8df0acfe97581d4686efa66a3178a7a /markup/blackfriday
parent3f38c785b7208440e2a9dd9a80cb39d4ae23e676 (diff)
downloadhugo-d966f5d08d7f75f1ae9acd94e292bf61de2adf0d.tar.gz
hugo-d966f5d08d7f75f1ae9acd94e292bf61de2adf0d.zip
highlight: Remove some pygments references
Diffstat (limited to 'markup/blackfriday')
-rw-r--r--markup/blackfriday/renderer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/markup/blackfriday/renderer.go b/markup/blackfriday/renderer.go
index a46e46b55..5d4cab048 100644
--- a/markup/blackfriday/renderer.go
+++ b/markup/blackfriday/renderer.go
@@ -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")