From 41907c4876f3af194eee2dd36cc0f0222576bd66 Mon Sep 17 00:00:00 2001 From: Dustin Metzgar Date: Sat, 28 Apr 2018 16:11:19 -0700 Subject: [PATCH] Fix typos in syntax-highlighting.md --- content/content-management/syntax-highlighting.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/content-management/syntax-highlighting.md b/content/content-management/syntax-highlighting.md index e7eb011c8..b2d7a4552 100644 --- a/content/content-management/syntax-highlighting.md +++ b/content/content-management/syntax-highlighting.md @@ -1,6 +1,6 @@ --- title: Syntax Highlighting -description: Hugo comes with reallly fast syntax highlighting from Chroma. +description: Hugo comes with really fast syntax highlighting from Chroma. date: 2017-02-01 publishdate: 2017-02-01 keywords: [highlighting,pygments,chroma,code blocks,syntax] @@ -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 `pygmentsUseClassic=true` in your site config. +If you want to continue to use Pygments (see below), set `pygmentsUseClasses=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)).