List-nesting problem

Posted by Esben on
URL: https://discuss.asciidoctor.org/List-nesting-problem-tp8374.html

Hi

I am writing a mindmap->asciidoctor converter, using Freeplane as the mindmap-editor.

It will be very easy, and very tempting, for my users (ie. me :) ) to create a structure like this:

Definition-list 1
    Text in def 1
    Text in def 1
    Definition-list 2
        text in def 2
        Definition-list 3
            Text in def 3
        Text in def 2
    Text in def 1

Text not in a list


But I can't seem to realise this in Asciidoctor?

I've tried breaking the list with a comment, I've tried enclosing in "--" blocks - no matter what I try, Text in def 1/2 ends up either at the third level or entirely outside the list

Is this not possible to do in Asciidoctor?