We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Input:
[a][b] [b]: <http://a.com>
The output href contains <>, but the original docs http://daringfireball.net/projects/markdown/syntax#link say it should work:
href
<>
The link URL may, optionally, be surrounded by angle brackets
and it works on every major implementation except peg-markdown.
If I could turn back time, I would not allow angle brackets like your implementation: it is better to have a single way of doing things.
But what is done is done, so until we have a markdown specification, it is better to be compatible IMHO.
Discovered with the Markdown Test Suite at karlcow/markdown-testsuite#50 .
Copy pasted from: jgm/peg-markdown#33
The text was updated successfully, but these errors were encountered:
57bd647
Thanks!
Sorry, something went wrong.
No branches or pull requests
Input:
The output
href
contains<>
, but the original docs http://daringfireball.net/projects/markdown/syntax#link say it should work:and it works on every major implementation except peg-markdown.
If I could turn back time, I would not allow angle brackets like your implementation: it is better to have a single way of doing things.
But what is done is done, so until we have a markdown specification, it is better to be compatible IMHO.
Discovered with the Markdown Test Suite at karlcow/markdown-testsuite#50 .
Copy pasted from: jgm/peg-markdown#33
The text was updated successfully, but these errors were encountered: