diff options
author | Waylan Limberg <waylan@gmail.com> | 2013-09-29 14:31:29 -0700 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2013-09-29 14:31:29 -0700 |
commit | 191d88b26c6bcb1cd9f66cb3a115e106366d1a55 (patch) | |
tree | 93804de49534fe52fd38f15e8cb0b39e08650a92 /tests/extensions | |
parent | 62e5485c0f4292717f48b4c16cdd6894c891716f (diff) | |
parent | 635d2f71db191145d30cba4934ab7fa8f4d20509 (diff) | |
download | markdown-191d88b26c6bcb1cd9f66cb3a115e106366d1a55.tar.gz markdown-191d88b26c6bcb1cd9f66cb3a115e106366d1a55.tar.bz2 markdown-191d88b26c6bcb1cd9f66cb3a115e106366d1a55.zip |
Merge pull request #252 from mitya57/master
Enable anchorlinks in Python-Markdown documentation
Diffstat (limited to 'tests/extensions')
-rw-r--r-- | tests/extensions/test.cfg | 4 | ||||
-rw-r--r-- | tests/extensions/toc_nested.html | 8 | ||||
-rw-r--r-- | tests/extensions/toc_nested2.html | 8 |
3 files changed, 10 insertions, 10 deletions
diff --git a/tests/extensions/test.cfg b/tests/extensions/test.cfg index 1a13b1c..494d79b 100644 --- a/tests/extensions/test.cfg +++ b/tests/extensions/test.cfg @@ -16,10 +16,10 @@ extensions=toc extensions=toc [toc_nested] -extensions=toc +extensions=toc(permalink=1) [toc_nested2] -extensions=toc +extensions=toc(permalink=[link]) [wikilinks] extensions=wikilinks diff --git a/tests/extensions/toc_nested.html b/tests/extensions/toc_nested.html index 3703e51..27af9df 100644 --- a/tests/extensions/toc_nested.html +++ b/tests/extensions/toc_nested.html @@ -1,7 +1,7 @@ -<h1 id="header-a">Header A</h1> -<h2 id="header-1">Header 1</h2> -<h3 id="header-i">Header i</h3> -<h1 id="header-b">Header <em>B</em></h1> +<h1 id="header-a">Header A<a class="headerlink" href="#header-a" title="Permanent link">¶</a></h1> +<h2 id="header-1">Header 1<a class="headerlink" href="#header-1" title="Permanent link">¶</a></h2> +<h3 id="header-i">Header i<a class="headerlink" href="#header-i" title="Permanent link">¶</a></h3> +<h1 id="header-b">Header <em>B</em><a class="headerlink" href="#header-b" title="Permanent link">¶</a></h1> <div class="toc"> <ul> <li><a href="#header-a">Header A</a><ul> diff --git a/tests/extensions/toc_nested2.html b/tests/extensions/toc_nested2.html index bf87716..2d8fa2d 100644 --- a/tests/extensions/toc_nested2.html +++ b/tests/extensions/toc_nested2.html @@ -8,7 +8,7 @@ <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 +<h3 id="start-with-header-other-than-one">Start with header other than one.<a class="headerlink" href="#start-with-header-other-than-one" title="Permanent link">[link]</a></h3> +<h3 id="header-3">Header 3<a class="headerlink" href="#header-3" title="Permanent link">[link]</a></h3> +<h4 id="header-4">Header 4<a class="headerlink" href="#header-4" title="Permanent link">[link]</a></h4> +<h3 id="header-3_1">Header 3<a class="headerlink" href="#header-3_1" title="Permanent link">[link]</a></h3>
\ No newline at end of file |