Skip to content

Commit b543c0e

Browse files
committed
docs: document how to use tab blocks
1 parent 3911375 commit b543c0e

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

modules/contributor/nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
** xref:docs/contributing-documentation.adoc[]
1212
*** xref:docs/overview.adoc[]
1313
*** xref:docs/style-guide.adoc[]
14+
*** xref:docs/using-tab-blocks.adoc[]
1415
*** xref:docs/backporting-changes.adoc[]
1516
*** xref:docs/releasing-a-new-version.adoc[]
1617
*** xref:docs/troubleshooting-antora.adoc[]
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
= Using tab blocks
2+
:asciidoctor-tabs-gh: https://github.com/asciidoctor/asciidoctor-tabs
3+
4+
The {asciidoctor-tabs-gh}[`asciidoctor/tabs`] extension is installed, so you can use tab blocks.
5+
An example can be found in the xref:management:stackablectl:installation.adoc[stackablectl installation instructions].
6+
7+
== Syntax example
8+
9+
[,asciidoc]
10+
----
11+
[tabs]
12+
====
13+
Tab A:: Contents of Tab A.
14+
15+
Tab B::
16+
+
17+
Contents of Tab B.
18+
19+
Tab C::
20+
+
21+
--
22+
Contents of Tab C.
23+
24+
Contains more than one block.
25+
--
26+
====
27+
----

0 commit comments

Comments
 (0)