asciidoctor / asciidoctor-leanpub-converter

A backend for AsciidoctorJ to generate Leanpub-flavoured Markdown
Apache License 2.0
16 stars 9 forks source link

Simple Tree Gen #46

Closed sirinath closed 7 years ago

sirinath commented 9 years ago

I want to add simple tree diagrams to a text. Is possible to add an easy tree generation feature.

E.g.

- level 1 (A)
-- child of level A (B)
---  child of B
-- 2nd child of A
- 2nd child of root
ysb33r commented 9 years ago

That is not supported directly in Asciidoctor (better ask in more detail on the forum).

However it should be possible to easily do if you also load the asciidoctor-diagram extension. This works with the Leanpub converter. I have already tested it, but not yet pushed the example upstream.

sirinath commented 9 years ago

This look like an overkill for simple tree and labeled flow diagrams but until there is an alternative it might do.

ysb33r commented 7 years ago

@sirinath Have a look at the MonoTree extension.