-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
image tag fails to render when surrounded by <center></center> #428
Comments
|
@kminchev this may be true, however, img will always fail to render when wrapped into a block element. So, also if you wrap an img in a figure tag, it won't be rendered. Another rendering parser (Text::Markdown) works similarly and argues:
But, they allow for a work-around:
Maybe such a thing could be implemented in parsedown as well? |
@otaka-san there is https://github.com/erusev/parsedown-extra for that. |
@cebe Oh, great! I should have checked that before obviously … thanks! Didn't know. |
HTML will prevent markdown processing if it is included on the same line and the line starts with HTML (per CommonMark spec) |
if you surround a image reference such as with
it fails to convert the tag into an html reference to the image file.The text was updated successfully, but these errors were encountered: