From bbe004e8f21e3fa7fbf7cda38ef64f0cce2f42e5 Mon Sep 17 00:00:00 2001 From: Zachary Betz Date: Thu, 14 Feb 2019 11:27:35 -0600 Subject: [PATCH] Markdown code fences example --- README.md | 2 +- exampleSite/content/post/cupper-shortcodes/index.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 01e7ae9..6d2c376 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Upload your image to [RealFaviconGenerator](https://realfavicongenerator.net/) t ## Syntax highlighting -Syntax highlighting is provided by [Prism](https://prismjs.com/). See the [full list of supported languages](https://prismjs.com/#languages-list). +Syntax highlighting is provided by [Prism](https://prismjs.com/). See this [markdown code fences example](https://cupper-hugo-theme.netlify.com/cupper-shortcodes/#syntax-highlighting). ## Shortcodes diff --git a/exampleSite/content/post/cupper-shortcodes/index.md b/exampleSite/content/post/cupper-shortcodes/index.md index ece6e27..e6c0fce 100644 --- a/exampleSite/content/post/cupper-shortcodes/index.md +++ b/exampleSite/content/post/cupper-shortcodes/index.md @@ -86,9 +86,9 @@ hugo server --gc 3. The close button uses `aria-label` to provide the text label "close", overriding the text content 4. The heading is used as the dialog's label. The `aria-labelledby` attribute points to its `id` ---- +## syntax highlighting -To get syntax highlighting, use regular markdown code fences: +To get syntax highlighting for your code, use regular markdown code fences: ```` ```html