Skip to content

Line breaks in multi-word markdown links results in weird output #3203

@digitalsadhu

Description

@digitalsadhu

Prettier 1.8.1
Playground link

--parser markdown

Input:

* [podium context](https://github.schibsted.io/finn/podium/tree/master/packages/podium-context)

Output:

* [podium
  context](https://github.schibsted.io/finn/podium/tree/master/packages/podium-context)

Expected behavior:
Expect that since the final rendered output is short [podium context] (in this case) that there should not be a line break in the output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang:markdownIssues affecting Markdownlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.status:has prIssues with an accompanying pull request. These issues will probably be fixed soon!

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions