Add syntax highlighting gallery links for Chroma

Thanks to @xyproto for https://github.com/xyproto/splash (the Chroma
syntax highlighting galleries repo), and to @bradryanbice for bringing
this to our attention in
https://github.com/gohugoio/hugoDocs/pull/478.
This commit is contained in:
Kaushal Modi
2018-06-20 11:17:58 -04:00
parent f91d9da47f
commit b6170774b1
@@ -72,7 +72,13 @@ pygmentsCodefences
: Set to true to enable syntax highlighting in code fences with a language tag in markdown (see below for an example).
pygmentsStyle
: The style of code highlighting. See https://help.farbox.com/pygments.html for a gallery. Note that this option is not relevant when `pygmentsUseClasses` is set.
: The style of code highlighting. Note that this option is not
relevant when `pygmentsUseClasses` is set.
Syntax highlighting galleries:
**Chroma** ([short snippets](https://xyproto.github.io/splash/docs/all.html),
[long snippets](https://xyproto.github.io/splash/docs/longer/all.html)),
[Pygments](https://help.farbox.com/pygments.html)
pygmentsUseClasses
: Set to `true` to use CSS classes to format your highlighted code. See [Generate Syntax Highlighter CSS](#generate-syntax-highlighter-css).