Prettier 2.0.5 wrongly combines this shortcut reference link with the parentheses that follow:
Input:
notify [foo] (author)
[foo]: /foo
|
notify foo (author)
|
Expected output:
notify [foo] (author)
[foo]: /foo
|
notify foo (author)
|
Actual output:
notify [foo](author)
[foo]: /foo
|
notify foo
|
Example:
$ prettier --version
2.0.5
$ prettier --no-config --parser markdown <<< 'notify [foo] (author)'
notify [foo](author)
Prettier 2.0.5 wrongly combines this shortcut reference link with the parentheses that follow:
Input:
Expected output:
Actual output:
Example: