diff --git a/html.go b/html.go index c787e9b..d20aaab 100644 --- a/html.go +++ b/html.go @@ -216,24 +216,22 @@ func (options *Html) BlockCodeNormal(out *bytes.Buffer, text []byte, lang string out.WriteString("\n") } -/* - * GitHub style code block: - * - *
- * ...
- *
- *
- * Unlike other parsers, we store the language identifier in the , - * and don't let the user generate custom classes. - * - * The language identifier in theblock gets postprocessed and all - * the code inside gets syntax highlighted with Pygments. This is much safer - * than letting the user specify a CSS class for highlighting. - * - * Note that we only generate HTML for the first specifier. - * E.g. - * ~~~~ {.python .numbered} =>- */ +// GitHub style code block: +// +//
+// +// Unlike other parsers, we store the language identifier in the+// ... +//
, +// and don't let the user generate custom classes. +// +// The language identifier in theblock gets postprocessed and all +// the code inside gets syntax highlighted with Pygments. This is much safer +// than letting the user specify a CSS class for highlighting. +// +// Note that we only generate HTML for the first specifier. +// E.g. +// ~~~~ {.python .numbered} =>func (options *Html) BlockCodeGithub(out *bytes.Buffer, text []byte, lang string) { doubleSpace(out)