Skip to content

Unstable autolink format after #8630 #8654

@fisker

Description

@fisker

Prettier pr-8140
Playground link

--parser markdown

Input:

*_http://www.example.com:80/_a_*

Output:

__http://www.example.com:80/_a__

Second Output:

**http://www.example.com:80/_a**

Expected behavior:

Should be stable

More failed tests

// (url) => `__${url}__`,
// (url) => `**${url}**`,
// (url) => `*_${url}_*`,
// (url) => `_*${url}*_`,
// (url) => `*_${url}*_`,
// (url) => `_*${url}_*`,
(url) => `_ ${url}_`,
(url) => `* ${url}*`,
(url) => `_ ${url}*`,
(url) => `* ${url}_`,
// (url) => `__ ${url}__`,
// (url) => `** ${url}**`,
// (url) => `*_ ${url}_*`,
// (url) => `_* ${url}*_`,
// (url) => `*_ ${url}*_`,
// (url) => `_* ${url}_*`,
(url) => `_${url} _`,
(url) => `*${url} *`,
(url) => `_${url} *`,
(url) => `*${url} _`,
// (url) => `__${url} __`,
// (url) => `**${url} **`,
// (url) => `*_${url} _*`,
// (url) => `_*${url} *_`,
// (url) => `*_${url} *_`,
// (url) => `_*${url} _*`,
(url) => `_ ${url} _`,
(url) => `* ${url} *`,
(url) => `_ ${url} *`,
(url) => `* ${url} _`,
// (url) => `__ ${url} __`,
// (url) => `** ${url} **`,
// (url) => `*_ ${url} _*`,
// (url) => `_* ${url} *_`,
// (url) => `*_ ${url} *_`,
// (url) => `_* ${url} _*`,

https://github.com/prettier/prettier/runs/730525149#step:6:3911

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions