Skip to content

Commit b53aedc

Browse files
authored
Update RenderShortcodes.md
1 parent b5f2891 commit b53aedc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

‎content/en/methods/page/RenderShortcodes.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,14 @@ An *emphasized* word.
7979
```
8080

8181
Note that the shortcode within the content file was rendered, but the surrounding Markdown was preserved.
82+
83+
84+
## Limitations
85+
86+
The primary use case for `.RenderShortcodes` is inclusion of Markdown content. If you try to use `.RenderShortcodes` inside `HTML` blocks when inside Markdown, you will get a warning similar to this:
87+
88+
```
89+
WARN .RenderShortcodes detected inside HTML block in "/content/mypost.md"; this may not be what you intended ...
90+
```
91+
92+
The above warning can be turned off is this is what you really want.

0 commit comments

Comments
 (0)