Browse Source

Markdown code fences example

Zachary Betz 6 years ago
parent
commit
bbe004e8f2
2 changed files with 3 additions and 3 deletions
  1. 1 1
      README.md
  2. 2 2
      exampleSite/content/post/cupper-shortcodes/index.md

+ 1 - 1
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
 

+ 2 - 2
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