Open childnode opened 4 months ago
ok, I see this is implemented manually here but not by the spring-asciidoctor-extensions
ok, perhaps I will look forward to contribute a change to make make docToolchain compatible to new syntax, but as least it is not that straight forward because [tabs] is not exposed as role in CSS and can't be processed in JS
actual result from docToolchain:
A contribution would be welcome!
Yes I implemented it just in the html theme because I could see a need for the plugin 😁
refering to https://github.com/docToolchain/docToolchain/issues/191
to me it looks like, the springboot "Block switch" syntax back from 2019
has been superseded by my 2022+ favorite : the https://github.com/asciidoctor/asciidoctor-tabs
unfortunately the first do not harmonize with the syntax in general where blocks do have a style first in the attribute list:
that's correct for
[tabs]
but inaccurate for[role]
formal optionsthe
--
from spring is the "open block" (see also list of block types) and should be used with a stylein advantage, the
.\w+\n[role=
syntax is correct with block titleson the other hand, nested tabs on asciidoctor-tabs with surrounding ====== block identifier is uncommon 🤕 but I see that is an bad example only and can be used with any accurate nested block syntax, even they misuse the predefined Example/Admotion delimit ====
Conclusion
SpringBoot asciidoctor extension:
❌ Con:
🤕 HD:
✅ Pro:
asciidoctor-tabs extension:
❌ Con:
🤕 HD:
✅ Pro: