Skip to content
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

Unexpected new line in numbered list #13

Open
lewtun opened this issue Dec 26, 2020 · 0 comments
Open

Unexpected new line in numbered list #13

lewtun opened this issue Dec 26, 2020 · 0 comments

Comments

@lewtun
Copy link
Contributor

lewtun commented Dec 26, 2020

The asciidoc conversion for numbered lists sometimes introduces a new line that causes the resulting HTML / PDF to be incorrectly formatted.

For example, the following markdown cell


1. one
1. two
1. three
1. four
1. five
1. six

produces the following asciidoc output

. one
. two
. three
. four
. five
.
six

The new line before six causes this item to be treated as part of the fifth one

Screen Shot 2020-12-26 at 4 08 28 pm

Steps to reproduce

  1. Download the sample notebook fastdoc_numbered_list.ipynb from this gist and place it in some folder, e.g. book
  2. Run
fastdoc_convert_all --path path/to/book --dest_path output

Environment details

fastdoc 0.0.2
pandoc 2.3.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant