The Expand shortcode displays an expandable/collapsible section of text on your page. Here is an example

Expand me...


this shortcode takes exactly one optional parameter to define the text that appears next to the expand/collapse icon. (default is “Expand me…”)

{{%expand "Is this docdock theme rocks ?" %}}Yes !.{{% /expand%}}

Is this docdock theme rocks ?


{{%expand%}}Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.{{% /expand%}}
Expand me...
Creative Commons LicenseThis work by Peter Baumgartner is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Permissions beyond the scope of this license may be available at http://peter.baumgartner.name/kontakt.
Powered by the docdock theme for Hugo.