This commit is contained in:
@@ -38,7 +38,7 @@ Custom shortcodes defined in `layouts/shortcodes/`.
|
|||||||
|
|
||||||
### Escaping Shortcodes (For Documentation)
|
### Escaping Shortcodes (For Documentation)
|
||||||
|
|
||||||
When writing documentation *about* shortcodes (or anytime you need to display `{{< >}}` or `{{% %}}` without Hugo executing them), you **MUST** use Hugo's built-in comment syntax inside the delimiters.
|
When writing documentation *about* shortcodes (or anytime you need to display `{{< >}}` or `{{% %}}` without Hugo executing them), you **MUST** use Hugo's built-in comment syntax inside the delimiters.
|
||||||
|
|
||||||
**The Rule:** Place `/*` immediately after the opening delimiter, and `*/` immediately before the closing delimiter. **No spaces are allowed between the delimiter and the comment marker.**
|
**The Rule:** Place `/*` immediately after the opening delimiter, and `*/` immediately before the closing delimiter. **No spaces are allowed between the delimiter and the comment marker.**
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user