Welcome to mirror list, hosted at ThFree Co, Russian Federation.

collapse.md « shortcodes « content « exampleSite - github.com/vantagedesign/ace-documentation.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 49860138eeaf42a0089b0654e2b99bb75a558b88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
+++
title = "Collapse"
description = ""
weight = 5
+++

Feel like hiding some content from your visitor in a collapsible element? The collapse shortcode does exactly that. It creates a button that shows or hides the content in the shortcode on request.

{{< collapse title="Click me to show content" >}}
Hi there, I'm the hidden content. Didn't see that one coming, huh?
{{< /collapse >}}

## Usage
Simply place the following shortcode on the page
{{< code lang="html" >}}
{{</* collapse title="TITLE" */>}} [content] {{</* /collapse */>}}
{{< /code >}}


### Parameters
#### *title*
The lang parameter defines the text to show in the button that toggles the collapse content.  
Example: <code>title="Click me to show content"</code>.