code: func (r *HugoHTMLRenderer) BlockCode(out *bytes.Buffer, text []byte, lang string) {
  	if r.Cfg.GetBool("pygmentsCodeFences") && (lang != "" || r.Cfg.GetBool("pygmentsCodeFencesGuessSyntax")) {
  		opts := r.Cfg.GetString("pygmentsOptions")
  		str := strings.Trim(string(text), "\n\r")
  		highlighted, _ := r.cs.Highlight(str, lang, opts)
  		out.WriteString(highlighted)
  	} else {
  		r.Renderer.BlockCode(out, text, lang)
  	}
  }
docs: // BlockCode renders a given text as a block of code.
  // Pygments is used if it is setup to handle code fences.