Markdown code fences example
This commit is contained in:
parent
8d456b3731
commit
bbe004e8f2
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user