Debian Codegraph @

tests/testsuite/markdown/basic_markdown/expected/html.html

raw
1 <h1 id="inline-html"><a class="header" href="#inline-html">Inline HTML</a></h1>
2 <h2 id="comments"><a class="header" href="#comments">Comments</a></h2>
3 <!--comment-->
4 <!--
5
6 **bigger**
7
8 comment
9
10 -->
11 <h2 id="void-elements"><a class="header" href="#void-elements">Void elements</a></h2>
12 <map name="my-map">
13 <area shape="rect" coords="0,0,10,20" href="https://example.com/" alt="alt text">
14 </map>
15 <p>Line<br>break</p>
16 <p>Word<wbr>break</p>
17 <table>
18 <colgroup>
19 <col>
20 <col span="2" class="a">
21 </colgroup>
22 </table>
23
24 <p><embed type="image/jpeg" src="/image.jpg" width="100" height="200"></p>
25 <p>Rule:</p>
26 <hr>
27 <img src="example.jpg">
28 <input type="text">
29 <link href="example.css" rel="stylesheet">
30 <p><meta name="example" content="Example content"></p>
31 <video>
32 <source src="video.webm" type="video/webm">
33 <track kind="captions" src="captions.vtt" srclang="en">
34 </video>
35 <h2 id="blocks"><a class="header" href="#blocks">Blocks</a></h2>
36 <div>
37 A block HTML element trying to do *markup*.
38 </div>
39
40 <div>
41 <p>A block HTML with spaces that <strong>cause</strong> it to be interleaved with markdown.</p>
42 </div>
43
44 <h2 id="scripts"><a class="header" href="#scripts">Scripts</a></h2>
45 <script></script>
46 <script async="" src="foo.js"></script>
47 <script>
48 const x = 'some *text* inside';
49
50 *don't* < try to "parse me
51 </script>
52 <h2 id="style"><a class="header" href="#style">Style</a></h2>
53 <style>
54
55 .foo {
56 background-color: red;
57 }
58
59 /* **don't** < try to "parse me
60 */
61
62 </style>
63 <style media="(width &lt; 500px)">
64 .bar { background-color: green }
65 </style>
66 <h2 id="manual-headers"><a class="header" href="#manual-headers">Manual headers</a></h2>
67 <h2 id="my header"><a href="#foo">My Header</a></h2>
68
69 <h3>Another header</h3>