mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
helpers: Ignore cache for Pygments when flag set
When the --ignoreCache flag is set to true, do not write and read the Pygments results to/from the cache directory. Fixes #2066 Closes #2068
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
c0cf1a7e37
commit
37fb2d43e5
@@ -106,6 +106,7 @@ It is also possible to add syntax highlighting with GitHub flavoured code fences
|
||||
### Disclaimers
|
||||
|
||||
* Pygments is relatively slow and _causes a performance hit when building your site_, but Hugo has been designed to cache the results to disk.
|
||||
* The caching can be turned off by setting the `--ignoreCache` flag to `true`.
|
||||
* Languages available depends on your Pygments installation.
|
||||
|
||||
## Client-side
|
||||
|
Reference in New Issue
Block a user