Here’s how to create nice lists with entries that can be expanded to show more content.
Since the Textile mark-down language does not provide for something like this, it requires some HTML tags:
<dl class="collapsible">
<dt>List item 1</dt>
<dd>item 1 content</dd>
<dt>List item 2</dt>
<dd>Item 2 content</dd>
<dt>List item 3</dt>
<dd>Item 3 content</dd>
</dl>
Which results in a list like this:
- List item 1
- item 1 content
- List item 2
- Item 2 content
- List item 3
- Item 3 content
The content blocks can contain any content you like, like images, bullets, tables, warning boxes, etc…:
- item 1
-
List:
- content 1
- content 2
- content 3
Test test..
- item 2
-
Some header
Paragraph 1.
Paragraph 2.
- item 3
-
Did you know?
For questions: please contact us.
- item 4
-
Another header
List:
- content 1
- content 2
- content 3
- content 4
Table:
1 2 3 4 5 6
Last modified:
24 Apr 2019
Need more help with this?
Don’t hesitate to contact us here.