mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
Add example of shortcode calls within sample code
This commit is contained in:
@@ -55,6 +55,13 @@ Step 7
|
|||||||
|
|
||||||
## Including sample code
|
## Including sample code
|
||||||
|
|
||||||
|
{{% note %}}
|
||||||
|
Use this syntax to include shortcodes calls within your code samples:
|
||||||
|
|
||||||
|
`{{</*/* foo */*/>}}`\
|
||||||
|
`{{%/*/* foo */*/%}}`
|
||||||
|
{{% /note %}}
|
||||||
|
|
||||||
### Fenced code blocks
|
### Fenced code blocks
|
||||||
|
|
||||||
Include the language when using a fenced code block.
|
Include the language when using a fenced code block.
|
||||||
|
|||||||
Reference in New Issue
Block a user