We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93e105a commit 4bfc43eCopy full SHA for 4bfc43e
modules/markup/markdown/markdown.go
@@ -103,7 +103,8 @@ func SpecializedMarkdown() goldmark.Markdown {
103
}
104
105
// include language-x class as part of commonmark spec
106
- _, err = w.WriteString(`<code class="chroma language-` + string(language) + `">`)
+ // the "display" class is used by "js/markup/math.js" to render the code element as a block
107
+ _, err = w.WriteString(`<code class="chroma language-` + string(language) + ` display">`)
108
if err != nil {
109
return
110
0 commit comments