aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/michelf/php-markdown/test/resources/php-markdown-extra.mdtest/Backtick Fenced Code Blocks Special Cases.xhtml
blob: c66ec31e9e9e0c4a17841291eaa437bdb4e16411 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<pre><code class="html">&lt;ul>
    &lt;li>Code block first in file&lt;/li>
    &lt;li>doesn't work under some circumstances&lt;/li>
&lt;/ul>
</code></pre>

<p>As above: checking for bad interractions with the HTML block parser:</p>

<pre><code class="html">&lt;div>
</code></pre>

<p>Some <em>markdown</em><code>formatting</code>.</p>

<pre><code class="html">&lt;/div>
</code></pre>

<p>Some <em>markdown</em></p>

<pre><code>&lt;div>
    &lt;html>
</code></pre>

<pre><code>function test();
</code></pre>

<div>
<pre><code>&lt;html&gt;
    &lt;title&gt;
</code></pre>
</div>

<div>
<pre><code>&lt;html&gt;
    &lt;title&gt;
</code></pre>
</div>

<p>Two code blocks with no blank line between them:</p>

<pre><code>&lt;div&gt;
</code></pre>

<pre><code>&lt;div&gt;
</code></pre>

<p>Testing <em>confusion</em> with code spans at the HTML block parser:</p>

<pre><code>&lt;div>```&lt;/div>
</code></pre>

<p>Testing mixing with title code blocks</p>

<pre><code>&lt;p>```
~~~
&lt;p>```
</code></pre>

<pre><code>&lt;p>```
```
&lt;p>```
</code></pre>