Open prudhomm opened 6 years ago
Depends on changes to asciidoctor, cf. https://github.com/asciidoctor/asciidoctor/issues/2340 and https://github.com/asciidoctor/asciidoctor/issues/1121.
In the meantime, you could bind the env style to an example container, which can already be nested.
[env]
====
[env]
======
...
======
====
You could make that case that env maps well to the example container. A block extension can be bound to more than one container (which is another way to alternate them).
@jxxcarlson it would be nice to be able to embed
[env]
within[env]
for example you may want to have nice equations using [env.equation] within a [env.theorem]here is an example
I would like for example to have [eq:32] to be a
[env.equation]
but that's not possible