apple/swift-markdown

How to support a link with space?

Closed this issue · 2 comments

For example,

[Title](Link To The Resource)

The parsing is failed due to the space, is that possible to somehow make it work?

It looks like the GitHub-Flavored Markdown spec (which Swift-Markdown uses as a base) allows link destinations with spaces if you wrap them in angle brackets:

[Title](<Link To The Resource>)

It looks like the GitHub-Flavored Markdown spec (which Swift-Markdown uses as a base) allows link destinations with spaces if you wrap them in angle brackets:

[Title](<Link To The Resource>)

Thanks, that's a good solution!