Mention that you can set AsciiDoctor attributes in config file.

This commit is contained in:
tastytea 2021-07-27 18:07:04 +02:00
parent d82bdbfa52
commit 2a08b25998
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 4 additions and 1 deletions

View File

@ -78,7 +78,8 @@ pygmentize -f html -S <style> -a .highlight \
```
And add `:source-highlighter: pygments` at the top of your posts, below the
front matter. Make sure to include the generated CSS file.
front matter. Make sure to include the generated CSS file. You can also set the
`source-highlighter` attribute in your config file.[^1]
### Table of contents
@ -95,3 +96,5 @@ blog.
## Contributing
See <https://schlomp.space/tastytea/hugo-theme-nocolor/src/branch/main/CONTRIBUTING.adoc>.
[^1]: https://gohugo.io/content-management/formats/#external-helper-asciidoctor