diff options
author | zwbetz <zwbetz@gmail.com> | 2018-10-14 05:23:42 +0300 |
---|---|---|
committer | zwbetz <zwbetz@gmail.com> | 2018-10-14 05:23:42 +0300 |
commit | ea2b4e103e27c0b89b081ae8aed5235706d16cf3 (patch) | |
tree | 51f72743d0281005293c7d97e149aa08a725c4b3 /README.md | |
parent | 4ad190839a182990dc10ea2164fe3ba9be632820 (diff) |
Update config.toml
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -90,6 +90,10 @@ title = "Some Title" theme = "minimal-bootstrap-hugo-theme" enableGitInfo = false +pygmentsCodefences = true +pygmentsCodefencesGuessSyntax = true +pygmentsStyle = "pygments" + [permalinks] post = "/:filename/" @@ -263,10 +267,11 @@ Hugo has built-in syntax highlighting, provided by Chroma. To use it, add these ``` pygmentsCodefences = true +pygmentsCodefencesGuessSyntax = true pygmentsStyle = "pygments" ``` -Here, `"pygments"` is just the name of the Chroma style to be used. Checkout the [Chroma style gallery](https://xyproto.github.io/splash/docs/all.html) and choose the style you like. +Here, `"pygments"` is just the name of the Chroma style to be used. Checkout the [Chroma style gallery](https://xyproto.github.io/splash/docs/all.html) and choose the style you like. For a deeper dive see the [hugo docs for syntax highlighting](https://gohugo.io/content-management/syntax-highlighting/). |