mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-11 10:45:02 -04:00
Fix typo: pygmentsUseClasses -> pygmentsUseClassic
Also remove few spurious white spaces. Thanks to @mbaeuerle for catching this.
This commit is contained in:
parent
9a3e1c19a1
commit
0fd7b41699
@ -18,7 +18,7 @@ toc: true
|
||||
|
||||
From Hugo 0.28, the default syntax hightlighter in Hugo is [Chroma](https://github.com/alecthomas/chroma); it is built in Go and is really, really fast -- and for the most important parts compatible with Pygments.
|
||||
|
||||
If you want to continue to use Pygments (see below), set `pygmentsUseClasses=true` in your site config.
|
||||
If you want to continue to use Pygments (see below), set `pygmentsUseClassic=true` in your site config.
|
||||
|
||||
The example below shows a simple code snippet from the Hugo source highlighted with the `highlight` shortcode. Note that the gohugo.io site is generated with `pygmentsUseClasses=true` (see [Generate Syntax Highlighter CSS](#generate-syntax-highlighter-css)).
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user