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 /setup.py | |
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 'setup.py')
-rwxr-xr-x | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -144,7 +144,8 @@ class build_docs(Command): else: with codecs.open('docs/_template.html', encoding='utf-8') as f: template = f.read() - self.md = markdown.Markdown(extensions=['extra', 'toc', 'meta', 'admonition', 'smarty']) + self.md = markdown.Markdown( + extensions=['extra', 'toc(permalink=true)', 'meta', 'admonition', 'smarty']) for infile in self.docs: outfile, ext = os.path.splitext(infile) if ext == '.txt': |