Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-line link not detected #399

Closed
cweiske opened this issue Apr 12, 2016 · 1 comment
Closed

Multi-line link not detected #399

cweiske opened this issue Apr 12, 2016 · 1 comment
Labels

Comments

@cweiske
Copy link

cweiske commented Apr 12, 2016

A link that is split onto two lines is not detected:

[foo]
(http://example.org/)

GitLab renders this fine.

Use case for this readability when e.g. the "foo" text is an image, and the link also has a title:

[![Youtube-Screenshot-Link](path/to/uploads/09be07d94465827fdeba9b232fd30500/Bildschirmfoto_2015-12-09_um_09.50.49.png)]
(https://youtu.be/hzZO7sKkDZc "DECT IP How To Transfer (en)")
@erusev erusev added the bug label Apr 12, 2016
@svivian
Copy link

svivian commented Jun 9, 2016

That is expected behaviour as per the CommonMark spec (see test here). There cannot be any space between ] and (.

Although Parsedown supposedly deviates from the spec by linking the URL (which seems logical to me).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants