From bfa6a55d033be1343b219cd91613d9d1e8564b12 Mon Sep 17 00:00:00 2001 From: Will Date: Sun, 17 Sep 2017 22:26:57 -0500 Subject: [PATCH] Escape code fencing --- content/tools/syntax-highlighting.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/tools/syntax-highlighting.md b/content/tools/syntax-highlighting.md index 52994ce7f..e45236cee 100644 --- a/content/tools/syntax-highlighting.md +++ b/content/tools/syntax-highlighting.md @@ -103,7 +103,7 @@ The keywords in the `highlight` shortcode mirror those of Pygments from the comm It is also possible to add syntax highlighting with GitHub flavored code fences. To enable this, set the `PygmentsCodeFences` to `true` in Hugo's [configuration file](/getting-started/configuration/); -``` +```` ```
@@ -114,7 +114,7 @@ It is also possible to add syntax highlighting with GitHub flavored code fences.
``` -``` +```` {{% note "Disclaimers on Pygments" %}} * Pygments is relatively slow and _causes a performance hit when building your site_, but Hugo has been designed to cache the results to disk.