nested complex content in a list item
Posted by
maydb on
Apr 21, 2020; 12:56pm
URL: https://discuss.asciidoctor.org/nested-complex-content-in-a-list-item-tp7934.html
In
https://asciidoctor.org/docs/user-manual/#list-continuation introduces using an open block to wrap complex content into a list.
```
* The header in AsciiDoc must start with a document title.
+
--
Here's an example of a document title:
----
= Document Title
----
NOTE: The header is optional.
--
```
Is there a way to using another open block in an open block? like
```
. nested open block
+
--
[quote]
____
Different identifier
____
something else
** python hello world
+
--
[example]
====
print("hello world")
====
[source, python]
----
print("hello world")
----
--
** javascript hello world
+
--
[source, javascript]
----
console.log("hello world")
----
[example]
====
console.log("hello world")
====
--
--
```
Example above actually doesn't work, is anything wrong with it?