code: func renderMarkdown(t string) (results template.HTML) {
  	// We don't want auto punctuation, which changes "foo" into “foo”
  	r := blackfriday.NewHTMLRenderer(blackfriday.HTMLRendererParameters{
  		Flags: blackfriday.CommonHTMLFlags &^ blackfriday.Smartypants,
  	})
  	buf := bytes.NewBuffer(blackfriday.Run(
  		[]byte(t),
  		blackfriday.WithRenderer(r),
  		blackfriday.WithExtensions(blackfriday.CommonExtensions)))
  	out := bytes.NewBuffer(nil)
  	if err := sanitizehtml.Sanitize(out, buf); err != nil {
  		return template.HTML(fmt.Sprintf("Failed to render markdown: %s", template.HTMLEscapeString(err.Error())))
  	}
  	return template.HTML(out.String())
  }
docs: // renderMarkdown renders the given text as markdown HTML.
  // This uses blackfriday to convert from markdown to HTML,
  // and sanitizehtml to allow only a small subset of HTML through.