To reproduce:
hugo new site my-blog --format yaml
- Switch current dir to my-blog, execute
hugo new theme my-theme
- Copy files in themes/my-theme to site root,
mv themes/my-theme/* .
- Delete copied hugo.toml
- Edit hugo.yaml in project root, add the following lines
markup:
highlight:
style: github
- Add a post containing a simple code fence.
- Run
hugo server
- The highlighting style is still monokai, not github.
Not only style
property, changing other highlight properties will not take effect too.