aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2013-09-29 14:31:29 -0700
committerWaylan Limberg <waylan@gmail.com>2013-09-29 14:31:29 -0700
commit191d88b26c6bcb1cd9f66cb3a115e106366d1a55 (patch)
tree93804de49534fe52fd38f15e8cb0b39e08650a92 /setup.py
parent62e5485c0f4292717f48b4c16cdd6894c891716f (diff)
parent635d2f71db191145d30cba4934ab7fa8f4d20509 (diff)
downloadmarkdown-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-xsetup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 826de9d..0702f6b 100755
--- a/setup.py
+++ b/setup.py
@@ -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':