Open Foadsf opened 5 years ago
With the latest version of Asciidoctor you can write the following:
.some description
[%collapsible]
====
this
is
going
to be
folded
====
So the former syntax is deprecated? I prefer not to touch that code at the moment!
Yes. Using passthrough to include raw HTML is not recommended because now your document is tightly coupled with the output.
@Mogztter mentioned your point here as well. That page, at least for me is the first google search result when searching for "asciidoc collapsible".
Thanks! For reference it was introduced in Asciidoctor 2.0.0: https://github.com/asciidoctor/asciidoctor/releases/tag/v2.0.0
Description
The foldable directive doesn't work.
asciidoc-preview
version: 2.13.1language-asciidoc
version: 1.11.0Screenshots
the same code in both Atom and VSCode:
Syntax example
the original source code can be found here.