-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrongly translated list continuation in nested lists #118
Comments
Regarding this output:
This is the correct result. The single empty line changes the attachment from baz to bar, which is what it should be doing based on the example you provided. However, it appears that Asciidoctor is converting it incorrectly. The issue here is actually with Asciidoctor core (which is not too much of a surprise since list parsing in Asciidoctor is still very problematic). We shouldn't change kramdown-asciidoc because Asciidoctor is doing something wrong.
kramdown-asciidoc is not going to use open blocks to attach blocks to list items. It's too complex and breaks down if more than one level is needed. |
Oh, I see. |
I would prefer if the issue were resubmitted since the description pertains to Kramdown AsciiDoc and thus would not transfer well. |
It turns out there is already an issue for this, and has been known for years. See asciidoctor/asciidoctor#2353 In order to fix this, list parsing has to be rewritten in Asciidoctor. This is something we are studying in the AsciiDoc Language. Once we figure it out, the new parsing logic will be put into Asciidoctor. |
If you have the Markdown
bam
continuesbar
.This currently is converted to the AsciiDoc
where
bam
continuesfoo
instead.It should instead be
or the imho less nice
The text was updated successfully, but these errors were encountered: