asciidoctor / kramdown-asciidoc

A kramdown extension for converting Markdown documents to AsciiDoc.
Other
209 stars 19 forks source link

Wrap list continuation inside a block #92

Open ggenzone opened 3 years ago

ggenzone commented 3 years ago

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](https://user-images.githubusercontent.com/61072167/127454036-77c67f97-0177-4f87-a225-c98c2011ed1f.png)