You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/methods/page/RenderShortcodes.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,3 +79,14 @@ An *emphasized* word.
79
79
```
80
80
81
81
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