Markdown code fences example

This commit is contained in:
Zachary Betz 2019-02-14 11:27:35 -06:00
parent 8d456b3731
commit bbe004e8f2
2 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@ Upload your image to [RealFaviconGenerator](https://realfavicongenerator.net/) t
## Syntax highlighting ## 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 ## Shortcodes

View File

@ -86,9 +86,9 @@ hugo server --gc
3. The close button uses `aria-label` to provide the text label "close", overriding the text content 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` 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 ```html