Skip to content

Unexpected new line in numbered list #13

Description

@lewtun

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions