Skip to content

Markdown: Link key converted to lower-case #7118

@schallm

Description

@schallm

Prettier 1.19.1
Playground link

--parser markdown

Input:

- see[Link to Foo][master-LinkToFoo]

[master-LinkToFoo]: http://foo.com

Output:

- see[Link to Foo][master-linktofoo]

[master-linktofoo]: http://foo.com

Expected behavior:

- see[Link to Foo][master-LinkToFoo]

[master-LinkToFoo]: http://foo.com

Making the key lower case reduces the readability of Camel or Pascal cased keys. This seems to have changed recently? Was the change intentional? Can you share the justification?

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.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions