marked/test/specs/new/html_comments.html
2020-08-07 11:19:47 -05:00

64 lines
930 B
HTML

<h3 id="example-1">Example 1</h3>
<!-- comment -->
<h3 id="example-2">Example 2</h3>
<!---->
<h3 id="example-3">Example 3</h3>
<!-- -->
<h3 id="example-4">Example 4</h3>
<!-- - -->
<h3 id="example-5">Example 5</h3>
<!-- -- -->
<h3 id="example-6">Example 6</h3>
<!-- --->
<h3 id="example-7">Example 7</h3>
<!----->
<h3 id="example-8">Example 8</h3>
<!------>
<h3 id="example-9">Example 9</h3>
<!-- My favorite operators are > and <!-->
<h3 id="example-10">Example 10</h3>
<!-- multi
line
comment
-->
<h3 id="example-11">Example 11</h3>
<!-- indented comment -->
<pre><code>&lt;!-- too much indentation --&gt;
</code></pre>
<h3 id="example-12">Example 12</h3>
<p>&lt;!--&gt; not a comment --&gt;</p>
<p>&lt;!---&gt; not a comment --&gt;</p>
<!-- <!-- not a comment? --> -->
<h3 id="example-13">Example 13</h3>
<!-- block ends at the end of the document since --!>
*is not a valid comment ending*