Skip to content

Dashed added through conversion from markdown to JSON #7

@thecodechemist99

Description

@thecodechemist99

When the markdown file is transformed to JSON:

const obj = md2json.parse(str);

there is an issue with bulleted lists.
I have multiple lists like the following in my file:

components:
  - config
  - backend
state: unstable

After conversion to JSON, a dash is added to any line in the block after the first dash:

"heading ...": {
            "raw": "components:\n- config\n- backend\n- state: unstable\n"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions