From d40413602b5f879cf3dc43634a8d386d4ebb1e89 Mon Sep 17 00:00:00 2001 From: Kevin Burke Date: Sat, 9 May 2020 13:50:39 -0700 Subject: [PATCH] main: fix code to work with new chroma package --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index bdbe9c1..517004c 100644 --- a/main.go +++ b/main.go @@ -58,7 +58,7 @@ func highlight(w io.Writer, source, lexer, style string) error { l = chroma.Coalesce(l) // Determine formatter. - f := html.New(html.WithClasses(), html.TabWidth(4)) + f := html.New(html.WithClasses(true), html.TabWidth(4)) // Determine style. s := styles.Get(style)