md1_inline_html_simple.html 725 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <p>Here's a simple block:</p>
  2. <div>
  3. foo
  4. </div>
  5. <p>This should be a code block, though:</p>
  6. <pre><code>&lt;div&gt;
  7. foo
  8. &lt;/div&gt;
  9. </code></pre>
  10. <p>As should this:</p>
  11. <pre><code>&lt;div&gt;foo&lt;/div&gt;
  12. </code></pre>
  13. <p>Now, nested:</p>
  14. <div>
  15. <div>
  16. <div>
  17. foo
  18. </div>
  19. </div>
  20. </div>
  21. <p>This should just be an HTML comment:</p>
  22. <!-- Comment -->
  23. <p>Multiline:</p>
  24. <!--
  25. Blah
  26. Blah
  27. -->
  28. <p>Code block:</p>
  29. <pre><code>&lt;!-- Comment --&gt;
  30. </code></pre>
  31. <p>Just plain comment, with trailing spaces on the line:</p>
  32. <!-- foo -->
  33. <p>Code:</p>
  34. <pre><code>&lt;hr /&gt;
  35. </code></pre>
  36. <p>Hr's:</p>
  37. <hr>
  38. <hr/>
  39. <hr />
  40. <hr>
  41. <hr/>
  42. <hr />
  43. <hr class="foo" id="bar" />
  44. <hr class="foo" id="bar"/>
  45. <hr class="foo" id="bar" >