|
I found the trick, i need to put the tab content within AsciiDoc delimiters to make it to work.
e.g.
[tabs]
====
tab1:
+
--
include::tab-doc1.adoc[]
--
tab2:
+
--
:a: 1
:b: 2
:c: 3
include::tab-doc2.adoc[]
--
====
tab-doc1.adoc
=====
= Tab 1
Asciidoc is awesome.
=====
tab-doc1.adoc
=====
= Tab 2
[source,bash,subs="attributes"]
----
{a} + {b} = {c}
----
=====
|