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
If an HTML tag has an attribute markdown="0", then the tag is parsed as raw HTML block.
However, the below text:
<imgmarkdown="0"alt=""src="images/foo"/>
is translated to:
<p><imgalt="" src="images/foo" /></p>
The spurious p element makes me believe my <img/> tag was parsed as span level, not block level.
I guess that’s a documentation bug. Given the other markdown attribute values relates to how the content of a tag is parsed, not how the tag itself is parsed, I guess the intended meaning of markdown="0" is in fact:
If an HTML tag has an attribute markdown="0", then the content of the the tag is parsed as raw HTML.
The text was updated successfully, but these errors were encountered:
The kramdown documentation states:
However, the below text:
is translated to:
The spurious
p
element makes me believe my<img/>
tag was parsed as span level, not block level.I guess that’s a documentation bug. Given the other
markdown
attribute values relates to how the content of a tag is parsed, not how the tag itself is parsed, I guess the intended meaning ofmarkdown="0"
is in fact:The text was updated successfully, but these errors were encountered: