<ul>
    <li>Code block first in file</li>
    <li>doesn't work under some circumstances</li>
</ul>

As above: checking for bad interractions with the HTML block parser:

<div>

Some markdownformatting.

</div>

Some markdown

<div>
    <html>
function test();
<html>
    <title>
<html>
    <title>

Two code blocks with no blank line between them:

<div>
<div>

Testing confusion with code spans at the HTML block parser:

<div>```</div>

Testing mixing with title code blocks

<p>```
~~~
<p>```
<p>```
```
<p>```