diff options
author | Dmitry Shachnev <mitya57@gmail.com> | 2013-09-25 11:56:40 +0400 |
---|---|---|
committer | Dmitry Shachnev <mitya57@gmail.com> | 2013-09-25 14:33:05 +0400 |
commit | ed399ac3da4dddfd676bedada42a3aa4d4d80e1e (patch) | |
tree | 9d802df5c4cc744ac6c4915ea9c68faf3a9dabec /setup.py | |
parent | 85e1a0c29c3f659fa1f36e94788a00b3e864b9d3 (diff) | |
download | markdown-ed399ac3da4dddfd676bedada42a3aa4d4d80e1e.tar.gz markdown-ed399ac3da4dddfd676bedada42a3aa4d4d80e1e.tar.bz2 markdown-ed399ac3da4dddfd676bedada42a3aa4d4d80e1e.zip |
Add new "permalink" option to toc extension
and use it in our docs
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': |