-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
docbook (asciidoctor) task lists #8011
Comments
Looks like asciidoctor is using boxes with shadows, where pandoc uses boxes without shadows. We should be able to modify |
Pandoc's markdown writer tries to produce markdown that will work with the widest range of processors, and some markdown processors historically have used the "4 space rule," requiring 4 space indent for sublists. Given this, and the desire that sublists align with the content of the containing list, we just start all list content on 4-space boundaries. In principle we could override this behavior for gfm/commonmark, since in that case the list nesting behavior is well defined. |
And yes, the way we handle this currently it's the responsibility of the writer to detect these task lists and format them appropriately. (Only a few formats have task lists, so in other cases we have a nice fallback behavior.) |
on bullet lists. They are now nested by 2 spaces instead of 4. See #8011.
Explain the problem.
asciidoctor has a peculiar way of encoding check lists:
Which is distinct from what pandoc generally produces/expects:
The following transforms therefore do not work as expected:
It's not clear to me whether this is something that would be the writer's responsibility or if it would make more sense for the docbook reader to parse these?
EDIT: also what's with the weird spacing on gfm lists after the hyphen?
The text was updated successfully, but these errors were encountered: