mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
docs: block code doesn't always has a background #100
This commit is contained in:
parent
3224bfb1a3
commit
714b790f0e
2 changed files with 4 additions and 2 deletions
|
@ -27,6 +27,7 @@ relativeURLs = true
|
|||
[markup]
|
||||
[markup.highlight]
|
||||
style = "monokai"
|
||||
guessSyntax = true
|
||||
|
||||
[markup.goldmark.renderer]
|
||||
unsafe= true
|
||||
|
|
|
@ -49,12 +49,13 @@ Renders to:
|
|||
|
||||
Hugo comes with a [remarkable list](https://gohugo.io/content-management/syntax-highlighting/#list-of-chroma-highlighting-languages) of supported languages.
|
||||
|
||||
## Configuration
|
||||
## Recommended configuration
|
||||
|
||||
You can choose a color theme from the [list of supported themes](https://xyproto.github.io/splash/docs/all.html) and add it in your `config.toml`
|
||||
|
||||
````toml
|
||||
[markup]
|
||||
[markup.highlight]
|
||||
style = "monokai"
|
||||
style = "monokai" # choose a color theme or create your own
|
||||
guessSyntax = true # avoid unstyled code if no language was given
|
||||
````
|
||||
|
|
Loading…
Reference in a new issue