~poptart/x

453a7c79287459c2f448d83cea50e7b1af103a7f — terrorbyte 7 months ago 7fa7070
Stop inlining the css and instead use classes
1 files changed, 1 insertions(+), 0 deletions(-)

M md/html/renderer.go
M md/html/renderer.go => md/html/renderer.go +1 -0
@@ 819,6 819,7 @@ func (r *Renderer) codeBlock(w io.Writer, codeBlock *ast.CodeBlock) {
	} else {
		options := []chromaHtml.Option{
			chromaHtml.Standalone(false),
			chromaHtml.WithClasses(true),
		}
		//Get the codeblock hint and if it succeeds mark that as the lexer. If not attempt to guess and fallback
		lexer := lexers.Fallback