| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -72,10 +72,11 @@ const testData = [ | |||
| 72 | 72 | html: '<h1>Sample Markdown with YAML info' + | |
| 73 | 73 | '<span><a class="mark" href="#foo_sample_markdown_with_yaml_info" ' + | |
| 74 | 74 | ' id="foo_sample_markdown_with_yaml_info">#</a></span></h1>' + | |
| 75 | - '<h2>Foobar<span><a class="mark" href="#foo_foobar" ' + | ||
| 75 | + '<section><h2>Foobar<span><a class="mark" href="#foo_foobar" ' + | ||
| 76 | 76 | 'id="foo_foobar">#</a></span></h2>' + | |
| 77 | 77 | '<div class="api_metadata"><span>Added in: v1.0.0</span></div> ' + | |
| 78 | 78 | '<p>Describe <code>Foobar</code> in more detail here.</p>' + | |
| 79 | + '</section><section>' + | ||
| 79 | 80 | '<h2>Foobar II<span><a class="mark" href="#foo_foobar_ii" ' + | |
| 80 | 81 | 'id="foo_foobar_ii">#</a></span></h2><div class="api_metadata">' + | |
| 81 | 82 | '<details class="changelog"><summary>History</summary>' + | |
@@ -86,16 +87,18 @@ const testData = [ | |||
| 86 | 87 | 'an arrow function.</p></td></tr></tbody></table></details></div> ' + | |
| 87 | 88 | '<p>Describe <code>Foobar II</code> in more detail here.' + | |
| 88 | 89 | '<a href="http://man7.org/linux/man-pages/man1/fg.1.html"><code>fg(1)' + | |
| 89 | - '</code></a></p><h2>Deprecated thingy<span><a class="mark" ' + | ||
| 90 | + '</code></a></p></section><section>' + | ||
| 91 | + '<h2>Deprecated thingy<span><a class="mark" ' + | ||
| 90 | 92 | 'href="#foo_deprecated_thingy" id="foo_deprecated_thingy">#</a>' + | |
| 91 | 93 | '</span></h2><div class="api_metadata"><span>Added in: v1.0.0</span>' + | |
| 92 | 94 | '<span>Deprecated since: v2.0.0</span></div><p>Describe ' + | |
| 93 | 95 | '<code>Deprecated thingy</code> in more detail here.' + | |
| 94 | 96 | '<a href="http://man7.org/linux/man-pages/man1/fg.1p.html"><code>fg(1p)' + | |
| 95 | - '</code></a></p><h2>Something<span><a class="mark" href="#foo_something' + | ||
| 97 | + '</code></a></p></section><section>' + | ||
| 98 | + '<h2>Something<span><a class="mark" href="#foo_something' + | ||
| 96 | 99 | '" id="foo_something">#</a></span></h2> ' + | |
| 97 | 100 | '<!-- This is not a metadata comment --> ' + | |
| 98 | - '<p>Describe <code>Something</code> in more detail here. </p>' | ||
| 101 | + '<p>Describe <code>Something</code> in more detail here. </p></section>' | ||
| 99 | 102 | }, | |
| 100 | 103 | { | |
| 101 | 104 | file: fixtures.path('sample_document.md'), | |
@@ -110,16 +113,18 @@ const testData = [ | |||
| 110 | 113 | file: fixtures.path('document_with_links.md'), | |
| 111 | 114 | html: '<h1>Usage and Example<span><a class="mark"' + | |
| 112 | 115 | 'href="#foo_usage_and_example" id="foo_usage_and_example">#</a>' + | |
| 113 | - '</span></h1><h2>Usage<span><a class="mark" href="#foo_usage"' + | ||
| 116 | + '</span></h1><section><h2>Usage<span><a class="mark" href="#foo_usage"' + | ||
| 114 | 117 | 'id="foo_usage">#</a></span></h2><p><code>node \\[options\\] index.js' + | |
| 115 | 118 | '</code></p><p>Please see the<a href="cli.html#cli-options">' + | |
| 116 | - 'Command Line Options</a>document for more information.</p><h2>' + | ||
| 119 | + 'Command Line Options</a>document for more information.</p>' + | ||
| 120 | + '</section><section><h2>' + | ||
| 117 | 121 | 'Example<span><a class="mark" href="#foo_example" id="foo_example">' + | |
| 118 | 122 | '#</a></span></h2><p>An example of a<a href="example.html">' + | |
| 119 | 123 | 'webserver</a>written with Node.js which responds with<code>' + | |
| 120 | - '\'Hello, World!\'</code>:</p><h2>See also<span><a class="mark"' + | ||
| 124 | + '\'Hello, World!\'</code>:</p></section><section>' + | ||
| 125 | + '<h2>See also<span><a class="mark"' + | ||
| 121 | 126 | 'href="#foo_see_also" id="foo_see_also">#</a></span></h2><p>Check' + | |
| 122 | - 'out also<a href="https://nodejs.org/">this guide</a></p>' | ||
| 127 | + 'out also<a href="https://nodejs.org/">this guide</a></p></section>' | ||
| 123 | 128 | }, | |
| 124 | 129 | { | |
| 125 | 130 | file: fixtures.path('document_with_special_heading.md'), | |
| Back | FazBrowse Home | New Git URL |
0 commit comments