8000 pandoc's markdown output damages documents in certain case · Issue #1013 · jgm/pandoc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
pandoc's markdown output damages documents in certain case #1013
Closed
@bwl21

Description

@bwl21

I have a document like this:

This is a test this is a test this is a test this is ta test this is a test this is a test iths is a test

- **this is a list - list - list - list - list - listelistelisteliste - list**

I process this using

pandoc x.md -o x.md

This is the result

This is a test this is a test this is a test this is ta test this is a
test this is a test iths is a test

-   **this is a list - list - list - list - list - listelistelisteliste
    - list**

If I "beautify" this again

This is a test this is a test this is a test this is ta test this is a
test this is a test iths is a test

-   \*\*this is a list - list - list - list - list -
    listelistelisteliste
    -   

We can see that markdown output produces unintended lists. As consequence, I cannot use the markdown output to beautify a markdown document.

Would it be possible that pandoc avoids a line break before a "-". There might even be other circumstances where something like this happens.

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

      0