You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@tivie if you were more attentive you would see versions: marked 0.2.6 is 5 years old. And so, what is your conclusion? Most of parsers fail, showdown should fail too?
@alkorgun As stated in the original spec links and images urls cannot be wrapped (that is, cannot contain newline characters).
The original spec is silent about this regarding inline link definitions, but explicit in reference style links.
Most Markdown implementations respect the original spec, and do not support linebreaks in urls. Github does not support base64 at all. (either inline or reference)
The ones that do, however, are inconsistent.
For instance, marked does support linebreaks in inline link definitions, but does not support them in reference style
(see fiddle)
Showdown can implement a special case for base64 encoded images, so that line wrapping is supported.
See the updated wiki for more information.
Hi,
I have some pictures like this:
![](data:image/png;base64,iVBORw0KGgoAAAANSUh...)
When picture is one-line, showdown works great, but if picture contains line breaks, showdown can't handle that.
Is this a bug or I just missed some option/flag to enable?
P.S. for example marked.js can handle line breaks in images with no problem.
The text was updated successfully, but these errors were encountered: