summaryrefslogtreecommitdiffstats
path: root/packages/markdown/marked/test/new/html_comments.html
diff options
context:
space:
mode:
Diffstat (limited to 'packages/markdown/marked/test/new/html_comments.html')
-rw-r--r--packages/markdown/marked/test/new/html_comments.html57
1 files changed, 57 insertions, 0 deletions
diff --git a/packages/markdown/marked/test/new/html_comments.html b/packages/markdown/marked/test/new/html_comments.html
new file mode 100644
index 00000000..872b45f6
--- /dev/null
+++ b/packages/markdown/marked/test/new/html_comments.html
@@ -0,0 +1,57 @@
+<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? --> -->