Skip to content

Commit

Permalink
main: fix code to work with new chroma package
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinburke committed May 9, 2020
1 parent 335d8d7 commit d404136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Expand Up @@ -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)
Expand Down

0 comments on commit d404136

Please sign in to comment.