diff options
| author | Asko Nõmm <ano@ano.ee> | 2022-05-11 18:09:16 +0300 |
|---|---|---|
| committer | Asko Nõmm <ano@ano.ee> | 2022-05-11 18:09:16 +0300 |
| commit | 9276a14c41e95e5ca17c648fe71c162f35551057 (patch) | |
| tree | 8f941e88d070118acf4c807bee380b013912e4c9 /resources/test | |
| parent | b97891cc45b9a087a372767e25aa36788bc979bf (diff) | |
Add `id` attributes to headings based on value.
Diffstat (limited to 'resources/test')
| -rw-r--r-- | resources/test/core_result.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/test/core_result.html b/resources/test/core_result.html index 54273e0..01f91aa 100644 --- a/resources/test/core_result.html +++ b/resources/test/core_result.html @@ -48,7 +48,7 @@ function markdownToHTML(markdown) { <p>This is <em><strong>bold italic text</strong></em> and <em><strong>this is also</strong></em>. <em>What about italic text that <strong>has bold text</strong></em>?</p> -<h2>Hi there, world!</h2> +<h2 id="hi-there-world">Hi there, world!</h2> <ul><li>List item</li><li>Another list <del>item</del><ul><li>Sub list item</li><li>Another sub list item<ul><li>Sub sub list item</li><li>Continuing sub list item</li></ul></li></ul></li><li>Continuing list item</li></ul> @@ -59,14 +59,14 @@ function markdownToHTML(markdown) { <pre><code>code goes here. # This is a heading.</code></pre> -<h1>This is a H1 heading with settext</h1> +<h1 id="this-is-a-h1-heading-with-settext">This is a H1 heading with settext</h1> -<h2>And this is a H2 heading with settext</h2> +<h2 id="and-this-is-a-h2-heading-with-settext">And this is a H2 heading with settext</h2> <p>Testing paragraph right before a code block</p> <pre><code>code goes here</code></pre> -<h1>Heading goes here</h1> +<h1 id="heading-goes-here">Heading goes here</h1> <p>Paragraph right after heading</p>
\ No newline at end of file |
