Tilde Fenced Code Blocks Special Cases.xhtml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <pre><code class="html">&lt;ul>
  2. &lt;li>Code block first in file&lt;/li>
  3. &lt;li>doesn't work under some circumstances&lt;/li>
  4. &lt;/ul>
  5. </code></pre>
  6. <p>As above: checking for bad interractions with the HTML block parser:</p>
  7. <pre><code class="html">&lt;div>
  8. </code></pre>
  9. <p>Some <em>markdown</em><code>formatting</code>.</p>
  10. <pre><code class="html">&lt;/div>
  11. </code></pre>
  12. <p>Some <em>markdown</em></p>
  13. <pre><code>&lt;div>
  14. &lt;html>
  15. </code></pre>
  16. <pre><code>function test();
  17. </code></pre>
  18. <div>
  19. <pre><code>&lt;html&gt;
  20. &lt;title&gt;
  21. </code></pre>
  22. </div>
  23. <div>
  24. <pre><code>&lt;html&gt;
  25. &lt;title&gt;
  26. </code></pre>
  27. </div>
  28. <p>Two code blocks with no blank line between them:</p>
  29. <pre><code>&lt;div&gt;
  30. </code></pre>
  31. <pre><code>&lt;div&gt;
  32. </code></pre>
  33. <p>Testing <em>confusion</em> with markers in the middle:</p>
  34. <pre><code>&lt;div>~~~&lt;/div>
  35. </code></pre>
  36. <p>Testing mixing with title code blocks</p>
  37. <pre><code>&lt;p>```
  38. ```
  39. &lt;p>```
  40. </code></pre>
  41. <pre><code>&lt;p>```
  42. ~~~
  43. &lt;p>```
  44. </code></pre>