diff options
-rw-r--r-- | tests/extensions-x-toc/nested2.html | 14 | ||||
-rw-r--r-- | tests/extensions-x-toc/nested2.txt | 10 |
2 files changed, 24 insertions, 0 deletions
diff --git a/tests/extensions-x-toc/nested2.html b/tests/extensions-x-toc/nested2.html new file mode 100644 index 0000000..bf87716 --- /dev/null +++ b/tests/extensions-x-toc/nested2.html @@ -0,0 +1,14 @@ +<div class="toc"> +<ul> +<li><a href="#start-with-header-other-than-one">Start with header other than one.</a></li> +<li><a href="#header-3">Header 3</a><ul> +<li><a href="#header-4">Header 4</a></li> +</ul> +</li> +<li><a href="#header-3_1">Header 3</a></li> +</ul> +</div> +<h3 id="start-with-header-other-than-one">Start with header other than one.</h3> +<h3 id="header-3">Header 3</h3> +<h4 id="header-4">Header 4</h4> +<h3 id="header-3_1">Header 3</h3>
\ No newline at end of file diff --git a/tests/extensions-x-toc/nested2.txt b/tests/extensions-x-toc/nested2.txt new file mode 100644 index 0000000..9db4d8c --- /dev/null +++ b/tests/extensions-x-toc/nested2.txt @@ -0,0 +1,10 @@ +[TOC] + +### Start with header other than one. + +### Header 3 + +#### Header 4 + +### Header 3 + |