Refactor toast shortcode

This commit is contained in:
Mark Dumay
2025-05-31 14:55:47 +02:00
parent f0493ec9f7
commit 1c2c896a32
7 changed files with 44 additions and 77 deletions

View File

@@ -464,11 +464,11 @@ As an example, the following shortcode displays a button that, when clicked, tri
Show toast 2
{{</* /button */>}}
{{</* toast id="toast-example-1" header="First title" */>}}
{{</* toast id="toast-example-1" title="First title" */>}}
This is the first toast message. It supports `markdown.`
{{</* /toast */>}}
{{</* toast id="toast-example-2" header="Second title" */>}}
{{</* toast id="toast-example-2" title="Second title" */>}}
This is the second toast message. It supports `markdown.`
{{</* /toast */>}}
{{< /example >}}