@@ -62,7 +62,7 @@ from Jekyll to Hugo, we broke some lists. To fix them, keep the following in
62
62
mind:
63
63
64
64
- Make sure you indent sub-list items ** 4 spaces** rather than the 2 that you
65
- ma be yused to. Counter-intuitively, you need to indent block-level content
65
+ may be used to. Counter-intuitively, you need to indent block-level content
66
66
within a list item an extra 4 spaces too.
67
67
68
68
- To end a list and start another, you need a HTML comment block on a new line
92
92
```bash
93
93
ls -l
94
94
```
95
-
95
+
96
96
- And a sub-list after some block-level content
97
-
97
+
98
98
- A bullet list item can contain a numbered list.
99
99
1 . Numbered sub-list item 1
100
100
2 . Numbered sub-list item 2
@@ -123,15 +123,49 @@ mind:
123
123
``` bash
124
124
$ ls -l
125
125
```
126
-
126
+
127
127
- And a sub-list after some block-level content. This is at the same
128
128
" level" as the paragraph and code block above, despite being indented
129
129
more.
130
130
131
+ # ## Tab lists
132
+
133
+ Tab lists can be used to conditionally display content, e.g., when multiple
134
+ options must be documented that require distinct instructions or context.
135
+
136
+ {{< tabs name=" tab_lists_example" > }}
137
+ {{% tab name=" Choose one..." %}}
138
+ Please select an option.
139
+ {{% /tab %}}
140
+ {{% tab name=" Formatting tab lists" %}}
141
+
142
+ Tabs may also nest formatting styles.
143
+
144
+ 1. Ordered
145
+ 1. (Or unordered)
146
+ 1. Lists
147
+
148
+ ` ` ` bash
149
+ $ echo ' Tab lists may contain code blocks!'
150
+ ` ` `
151
+
152
+ {{% /tab %}}
153
+ {{% tab name=" Nested headers" %}}
154
+
155
+ # ## Header within a tab list
156
+
157
+ Nested header tags may also be included.
158
+
159
+ {{< warning > }}
160
+ ** Note** : Headers within tab lists will not appear in the Table of Contents.
161
+ {{< /warning > }}
162
+
163
+ {{% /tab %}}
164
+ {{< /tabs > }}
131
165
132
166
# ## Checklists
133
167
134
- Checlists are technically bullet lists, but the bullets are suppressed by CSS.
168
+ Checklists are technically bullet lists, but the bullets are suppressed by CSS.
135
169
136
170
- [ ] This is a checklist item
137
171
- [x] This is a selected checklist item
@@ -151,7 +185,6 @@ This is due to
151
185
[blackfriday issue # 239](https://github.com/russross/blackfriday/issues/239).
152
186
{{< /warning > }}
153
187
154
-
155
188
` ` `
156
189
this is a code block created by back-ticks
157
190
` ` `
@@ -293,3 +326,4 @@ You can have multiple paragraphs and block-level elements inside an admonition.
293
326
{{< warning > }}
294
327
** Warning:** Warnings point out something that could cause harm if ignored.
295
328
{{< /warning > }}
329
+
0 commit comments