Add syntax highlighting variables to list of all settings

The list of all configuration variables was missing some (newer?)
variables relating to syntax highlighting.

Some instances of `pygmentsCodeFences` used different captilisation,
and have been updated to match.
This commit is contained in:
Nicholas Whittaker authored and Bjørn Erik Pedersen committed 2019-10-16 08:54:03 +02:00
1 parent 556179197f
commit 96a86531a8
2 files changed
+11 -2

No files matched your search

@@ -68,7 +68,7 @@ To make the transition from Pygments to Chroma seamless, they share a common set
pygmentsOptions
: A comma separated list of options. See below for a full list.
pygmentsCodefences
pygmentsCodeFences
: Set to true to enable syntax highlighting in code fences with a language tag in markdown (see below for an example).
pygmentsStyle
@@ -83,7 +83,7 @@ pygmentsStyle
pygmentsUseClasses
: Set to `true` to use CSS classes to format your highlighted code. See [Generate Syntax Highlighter CSS](#generate-syntax-highlighter-css).
pygmentsCodefencesGuessSyntax
pygmentsCodeFencesGuessSyntax
: Set to `true` to try to do syntax highlighting on code fenced blocks in markdown without a language tag.
pygmentsUseClassic
@@ -214,6 +214,12 @@ pluralizeListTitles (true)
publishDir ("public")
: The directory to where Hugo will write the final static site (the HTML files etc.).
pygmentsOptions ("")
: A comma separated list of options for syntax highlighting. See the [Syntax Highlighting Options](/content-management/syntax-highlighting/#options) for the full list of available options.
pygmentsCodeFences (false)
: Enables syntax highlighting in [code fences with a language tag](/content-management/syntax-highlighting/#highlight-in-code-fences) in markdown.
pygmentsCodeFencesGuessSyntax (false)
: Enable syntax guessing for code fences without specified language.
@@ -223,6 +229,9 @@ pygmentsStyle ("monokai")
pygmentsUseClasses (false)
: Enable using external CSS for syntax highlighting.
pygmentsUseClassic (false)
: Enable using Pygments instead of the much faster Chroma for syntax highlighting.
related
: See [Related Content](/content-management/related/#configure-related-content).