-
Notifications
You must be signed in to change notification settings - Fork 875
image short-reference links not supported #894
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
Comments
I'm not sure this is a bug. I understand why one might think it is, but short reference links (where the label is the ref) are an undocumented feature of Markdown and, as demonstrated by Babelmark, this does not work in the reference implementation either. Interestingly, the PHP and Python implementations parse the outer link, but miss the image, while However, what is more interesting is the behavior when we separate the image link out from the wrapping link (see babelmark. It appears that Python-Markdown and |
Ok, If I understand, you correctly, I think that once you recognize short refs as images, you would get the expected behavior I described above: If
Becomes
Then:
Becomes (currently in python-markdown):
See babel |
Hi,
I've encountered an unexpected behavior:
Markdown:
Produces
Expected behavior: (inserted the above markdown snippet as is into this issue)
or in html:
In babel:
https://babelmark.github.io/?text=%5B!%5BBuild+Status%5D%5D(https%3A%2F%2F2.zoppoz.workers.dev%3A443%2Fhttps%2Ftravis-ci.org%2Fcommonmark%2Fcmark)%0A%0A%0A%5BBuild+Status%5D%3A+https%3A%2F%2F2.zoppoz.workers.dev%3A443%2Fhttps%2Fimg.shields.io%2Ftravis%2Fcommonmark%2Fcmark%2Fmaster.svg%3Fstyle%3Dflat
The text was updated successfully, but these errors were encountered: