1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-03-19 21:10:15 +02:00

docs(readme): fix call to WithClasses

This commit is contained in:
Ted Summer 2022-01-29 12:08:10 -07:00 committed by Alec Thomas
parent 59896e357d
commit d9c7dea1e6

@ -192,7 +192,7 @@ following constructor options:
If `WithClasses()` is used, the corresponding CSS can be obtained from the formatter with:
```go
formatter := html.New(html.WithClasses())
formatter := html.New(html.WithClasses(true))
err := formatter.WriteCSS(w, style)
```