diff --git a/modules/contributor/nav.adoc b/modules/contributor/nav.adoc index 2f0135f6e..75ed3792f 100644 --- a/modules/contributor/nav.adoc +++ b/modules/contributor/nav.adoc @@ -11,6 +11,7 @@ ** xref:docs/contributing-documentation.adoc[] *** xref:docs/overview.adoc[] *** xref:docs/style-guide.adoc[] +*** xref:docs/using-tab-blocks.adoc[] *** xref:docs/backporting-changes.adoc[] *** xref:docs/releasing-a-new-version.adoc[] *** xref:docs/troubleshooting-antora.adoc[] diff --git a/modules/contributor/pages/docs/using-tab-blocks.adoc b/modules/contributor/pages/docs/using-tab-blocks.adoc new file mode 100644 index 000000000..e8599042e --- /dev/null +++ b/modules/contributor/pages/docs/using-tab-blocks.adoc @@ -0,0 +1,29 @@ += Using tab blocks +:asciidoctor-tabs-gh: https://github.com/asciidoctor/asciidoctor-tabs + +The {asciidoctor-tabs-gh}[`asciidoctor/tabs`] extension is installed, so you can use tab blocks. +An example can be found in the xref:management:stackablectl:installation.adoc[stackablectl installation instructions]. + +TIP: Be sure to use different block indicators nested admonition blocks so that they don't conflict with the tab blocks. + +== Syntax example + +[,asciidoc] +---- +[tabs] +==== +Tab A:: Contents of Tab A. + +Tab B:: ++ +Contents of Tab B. + +Tab C:: ++ +-- +Contents of Tab C. + +Contains more than one block. +-- +==== +----