Login  Register

Re: Multilevel nested ordered lists numbering

Posted by mojavelinux on Sep 30, 2019; 7:07am
URL: https://discuss.asciidoctor.org/Multilevel-nested-ordered-lists-numbering-tp7170p7171.html

There's no built-in behavior to do that. You could, however, override the converter to provide your own formatting.

See https://github.com/asciidoctor/asciidoctor-pdf/blob/master/docs/theming-guide.adoc#extending-the-converter

Best,

-Dan

On Mon, Sep 30, 2019 at 1:04 AM Hoplop [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Is it somehow possible to make ordered lists look similar to this example:

----
1. Level 1
2. Level 1
    2.1 Level 2
    2.2 Level 2
3. Level 1
    3.1 Level 2
          3.1.1 Level 3
          3.1.2 Level 3
...
----

I am particularly interesting in PDF output.


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/Multilevel-nested-ordered-lists-numbering-tp7170.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux