Skip to content

Commit 5933c88

Browse files
committed
Fix page rendering after misformatted alert
1 parent 7413f28 commit 5933c88

File tree

1 file changed

+8
-0
lines changed
  • userguide/content/en/docs/adding-content/shortcodes

1 file changed

+8
-0
lines changed

userguide/content/en/docs/adding-content/shortcodes/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,14 @@ accordingly. For example:
215215

216216
This renders as:
217217

218+
{{< comment >}}
219+
<!--
220+
IMPORTANT: the following lone opening div tag prevents the mis-formatted alert example below from breaking all the rest of the page. DO NOT remove it.
221+
-->
222+
{{< /comment >}}
223+
224+
<div>
225+
218226
<!-- prettier-ignore -->
219227
- The following note is part of this list item:
220228
{{% alert title="Celebrate!" color=success %}}

0 commit comments

Comments
 (0)