aboutsummaryrefslogtreecommitdiffstats
path: root/docs/extensions/toc.txt
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2014-08-29 10:57:18 -0400
committerWaylan Limberg <waylan.limberg@icloud.com>2014-08-29 10:57:18 -0400
commitc27cbd154050c1181eac195a4b0bb19a6bbaf048 (patch)
treeb933195724feff404499dd07f39cd51fa6c17af7 /docs/extensions/toc.txt
parentb1643eb058f44a05523b118632c7b8181b2ffbe7 (diff)
downloadmarkdown-c27cbd154050c1181eac195a4b0bb19a6bbaf048.tar.gz
markdown-c27cbd154050c1181eac195a4b0bb19a6bbaf048.tar.bz2
markdown-c27cbd154050c1181eac195a4b0bb19a6bbaf048.zip
Docs now use dot notation for all extensions.
Except were "short names" are explained in the docs, all references to the buitlin extensions now use `markdown.extensions.*` in anticipation of #336.
Diffstat (limited to 'docs/extensions/toc.txt')
-rw-r--r--docs/extensions/toc.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/extensions/toc.txt b/docs/extensions/toc.txt
index 4d2d3c0..7b5d119 100644
--- a/docs/extensions/toc.txt
+++ b/docs/extensions/toc.txt
@@ -44,7 +44,7 @@ would generate the following output:
Usage
-----
-See [Extensions](index.html) for general extension usage, specify `toc`
+See [Extensions](index.html) for general extension usage, specify `markdown.extensions.toc`
as the name of the extension.
See the [Library Reference](../reference.html#extensions) for information about
@@ -65,7 +65,7 @@ The following options are provided to configure the output:
## Header 2
'''
- >>> md = markdown.Markdown(extensions=['toc'])
+ >>> md = markdown.Markdown(extensions=['markdown.extensions.toc'])
>>> html = md.convert(text)
>>> render_some_template(context={'body': html, 'toc': md.toc})