1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00
parsedown/tests/data/fenced_code_block.html
Aidan Woods f47ba7aa34
Track whitespace left on blank lines to match CommonMark
Test changes copy pasted to match CommonMark reference parser
2019-04-07 16:38:10 +01:00

25 lines
571 B
HTML

<pre><code>&lt;?php
$message = 'fenced code block';
echo $message;
</code></pre>
<pre><code>tilde
</code></pre>
<pre><code class="language-php">echo 'language identifier';
</code></pre>
<pre><code class="language-c#">echo 'language identifier with non words';
</code></pre>
<pre><code class="language-html+php">&lt;?php
echo &quot;Hello World&quot;;
?&gt;
&lt;a href=&quot;http://auraphp.com&quot; &gt;Aura Project&lt;/a&gt;
</code></pre>
<pre><code>the following isn't quite enough to close
```
still a fenced code block
</code></pre>
<pre><code>foo
bar
</code></pre>