<p>Input:</p>
<pre><code><em>Emphasis</em></code></pre>
<p>Result: <em>Emphasis</em></p>
<p>Input:</p>
<p>Result alone:</p>
<p>Without closing:</p>
<p>
<p>This is</p>
<em>
<p>true</p>
</em>
<p>markdown text (paragraph)</p>
</p>
<p>
<p>
<p>This is</p>
<em>
<p>true</p>
</em>
<p>markdown text (no paragraph)</p>
</p>
</p>
<p>
<p>
<p>This is</p>
<em>
<p>true</p>
</em>
<p>markdown text (block paragraph)</p>
</p>
</p>
</div><table>
<tr>
<td>
<p>This is</p>
<em>
<p>true</p>
</em>
<p>markdown text. (no par)</p>
</td>
<td>
<p>This is</p>
<em>
<p>true</p>
</em>
<p>markdown text. (par)</p>
</td>
</tr>
</table>
<p>The following is invalid HTML, and will generate an error:</p>
<pre class='markdown-html-error' style='border: solid 3px red; background-color: pink'>HTML parse error:
<table>
<td markdown="1">This is *true* markdown text. (no par)</td>
<td markdown="block">This is *true* markdown text. (par)</td>
</tr></pre><pre class='markdown-html-error' style='border: solid 3px red; background-color: pink'>HTML parse error:
</table></pre>