kramdown-asciidoc icon indicating copy to clipboard operation
kramdown-asciidoc copied to clipboard

Wrap list continuation inside a block

Open ggenzone opened this issue 4 years ago • 0 comments

I found a case that seems like a bug in Asciidoc's handling of continuation of lists, however it could be avoided if the continuation of list is created within a block.

https://docs.asciidoctor.org/asciidoc/latest/lists/continuation/#list-continuation

Markdown Source

# Title 

1.  Example


    -  ListItem1
    -  ListItem2

    ```
    tar -xvf 1.0-Linux32.tar.gz
    ```
    
    
    Paragraph


    ```
    ls
    ```

Asciidoc Output

= Title

. Example
 ** ListItem1
 ** ListItem2

+
----
tar -xvf 1.0-Linux32.tar.gz
----
+
Paragraph
+
----
ls
----

HTML Result using adoc file screenshot-www google com-2021 07 29-09_57_13

ggenzone avatar Jul 29 '21 08:07 ggenzone