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:
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)
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user