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