Skip to content

[Bug]: Line break is \ n \ n #193

@over-star

Description

@over-star

Describe the bug

A clear and concise description of what the bug is.
Line break is \n\n,\n\n markdown editor does not recognize it, such as typora. Is there a way to convert it to a recognized line break
Also add any other context about the problem here.
For example, if you changed the default options or used a plugin. Also adding the version from the go.mod is helpful.

HTML Input

<h1>标题</h1><p>这是一个<strong>段落</strong></p><ul><li>列表项1</li><li>列表项2</li></ul>

Generated Markdown

# 标题\n\n这是一个**段落**\n\n- 列表项1\n- 列表项2

Expected Markdown

# 标题<br>这是一个**段落**<br>- 列表项1\n- 列表项2

What plugins did you use?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingv2version v2.x.x

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions