Skip to content

Lists without separating new lines are not properly converted #128

@ascheman

Description

@ascheman

While using the JetBrains AsciiDoctor plugin of @ahus1 I ran into the following problems when converting from MarkDown to AsciiDoc.

Lists without a newline up front are not converted properly to AsciiDoc:

  • A preceding new line must be inserted to make it an AsciiDoc list.
  • List markers (-) are not converted (to *), this is perhaps a follow up error of not recognizing the list at all?
  • Indentation is not followed (all nested lists are set to level 1 lists, i.e., no respective number of *) is used, perhaps also a follow up error.

When converting the following list

# unordered list without separator before first line

This is my typical list without any empty line for separation
- first item
- second item
- third item

I expect the following result:

= unordered list without separator before first line

This is my typical list without any empty line for separation

* first item
* second item
* third item

However, due to #127 I cannot even create a red test case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions