-
Notifications
You must be signed in to change notification settings - Fork 25
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
Chained or nest admonition blocks not processed properly #492
Comments
ok, thanks for reporting this issue @gdamore I will definitely take a look at it. |
see also #497 for the processing of index terms in the labeled item terms. Eg:
|
Haha. I guess my big reference manual has lots of content that catches a lot of corner cases. Let me know if you want the full doc set. Running libasciidoc and comparing to asciidoctor likely to be informative. |
Indeed, it's always good to have a large document to catch such corner cases! ;) |
Just an FYI, I'm waiting for a resolution on this before I try switching over my tool chain again. |
@gdamore yes, I remember this is a stopper for you. I have been working on it and it is almost solved ;) |
fixing 'ContinuedListItemElement' rule to support a document blocks which include 'ContinuedParagraph' blocks instead of regular 'Paragraph' blocks Fixes bytesparadise#492 Signed-off-by: Xavier Coulon <[email protected]>
fixing 'ContinuedListItemElement' rule to support a document blocks which include 'ContinuedParagraph' blocks instead of regular 'Paragraph' blocks Fixes #492 Signed-off-by: Xavier Coulon <[email protected]>
@gdamore after merging #500, the remaining differences between the output of Asciidoctor vs Libasciidoc are a few blanklines added by Asciidoctor, such as:
which are not present in the HTML generated by Libasciidoc:
These blank lines do not affect the HTML rendering, AFAICS. The rest of the generated HTML is the same with both tools. 😀 |
Awesome!! I’ll give it a look!
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Xavier Coulon <[email protected]>
Sent: Saturday, March 14, 2020 1:19:29 AM
To: bytesparadise/libasciidoc <[email protected]>
Cc: gdamore <[email protected]>; Mention <[email protected]>
Subject: Re: [bytesparadise/libasciidoc] Chained or nest admonition blocks not processed properly (#492)
@gdamore<https://github.com/gdamore> after merging #500<#500>, the remaining differences between the output of Asciidoctor vs Libasciidoc are a few blanklines added by Asciidoctor, such as:
...
<p>
(<code>int</code>)
This read-only option is used to obtain an integer file descriptor suitable
for use with
...
which are not present in the HTML generated by Libasciidoc:
...
<p>(<code>int</code>)
This read-only option is used to obtain an integer file descriptor suitable
for use with
...
These blank lines do not affect the HTML rendering, AFAICS.
The rest of the generated HTML is the same with both tools. 😀
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#492 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAJ4G7KQSLRCK5ED73W56S3RHM4ZDANCNFSM4K7H66VA>.
|
The following snippet (from nng_options.5.adoc) is not processed properly by libasciidoc.
In particular, I have several admonition blocks inside a description list item. This seems to confuse the libasciidoc parser, that winds up just putting them out inline (including with the + on a blank line). asciidoctor processes it correctly.
The entire source file for this is at https://github.com/nanomsg/nng/blob/master/docs/man/nng_options.5.adoc
(I was trying to build a Go program to process the files automatically in this directory -- initial results are mostly promising, and its a lot (orders of magnitude) faster than asciidoctor.)
I'm not familiar enough with your parser to suggest any immediate fix, but this will be a show stopper for me.
The text was updated successfully, but these errors were encountered: