I understand that an initial blank line in an HTML block enables markdown mode, but I would not expect later lines to do this, for example with this input:
# Hello world
<div>
<p>First paragraph</p>
<p>Second paragraph</p>
</div>
I get the following output:
<h1 id="helloworld">Hello world</h1>
<div>
<p>First paragraph</p>
<pre><code><p>Second paragraph</p>
</code></pre>
</div>
If the rule is that any blank line in HTML blocks enable markdown mode (for the remaining content), it means that we cannot visually group elements, which would be a loss for readability.
Using v6.3.2 installed via homebrew.
Using --compatibility does not change the above behavior.
I understand that an initial blank line in an HTML block enables markdown mode, but I would not expect later lines to do this, for example with this input:
I get the following output:
If the rule is that any blank line in HTML blocks enable markdown mode (for the remaining content), it means that we cannot visually group elements, which would be a loss for readability.
Using v6.3.2 installed via homebrew.
Using
--compatibilitydoes not change the above behavior.