Wrapping a series of expand
shortcodes with accordion
means only one expand
in the series can be expanded at a time. When a user opens an accordion
ed expand
with another one already open, accordion
automatically collapses the previously-opened one.
{{< accordion >}}
{{< expand "Example expand" >}}
Example expanded text.
{{< /expand >}}
{{< expand "Example expand 2" >}}
Example expanded text 2.
{{< /expand >}}
{{< /accordion >}}
{{< accordion >}}
{{< expand "Example expand" >}}
Example expanded text.
{{< /expand >}}
{{< expand "Example expand scroll" scroll >}}
Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text. Example expanded text.
{{< /expand >}}
{{< expand "Example expand 2" >}}
Example expanded text 2.
{{< /expand >}}
{{< /accordion >}}
Renders to:
>
in markdown).