From b6170774b153016c9f66107d7c976e4c648dce39 Mon Sep 17 00:00:00 2001 From: Kaushal Modi Date: Wed, 20 Jun 2018 11:17:58 -0400 Subject: [PATCH] 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. --- content/en/content-management/syntax-highlighting.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/content/en/content-management/syntax-highlighting.md b/content/en/content-management/syntax-highlighting.md index 517968e3c..4576624d0 100644 --- a/content/en/content-management/syntax-highlighting.md +++ b/content/en/content-management/syntax-highlighting.md @@ -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).