summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVyacheslav.Redlov <Vyacheslav.Redlov@x5.ru>2022-11-24 11:15:47 +0600
committerWaylan Limberg <waylan.limberg@icloud.com>2022-11-28 10:24:58 -0500
commit4226c1e5fac1d7f627910c6afea36028b20ba5de (patch)
tree1daccc21d13fc5c1aefeb4ae1b1f5436d80db4be
parent939a2fe70580c8e6b7e10af82ebdd6c8c72e019a (diff)
downloadpython-markdown-4226c1e5fac1d7f627910c6afea36028b20ba5de.tar.gz
Update documentation in file `toc.md` in `slugify` part.
-rw-r--r--docs/extensions/toc.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/extensions/toc.md b/docs/extensions/toc.md
index 8d7bd35..ed1c6bd 100644
--- a/docs/extensions/toc.md
+++ b/docs/extensions/toc.md
@@ -195,7 +195,7 @@ The following options are provided to configure the output:
* **`slugify`**:
Callable to generate anchors.
- Default: `markdown.extensions.headerid.slugify`
+ Default: `markdown.extensions.toc.slugify`
In order to use a different algorithm to define the id attributes, define and
pass in a callable which takes the following two arguments:
@@ -206,7 +206,7 @@ The following options are provided to configure the output:
The callable must return a string appropriate for use in HTML `id` attributes.
An alternate version of the default callable supporting Unicode strings is also
- provided as `markdown.extensions.headerid.slugify_unicode`.
+ provided as `markdown.extensions.toc.slugify_unicode`.
* **`separator`**:
Word separator. Character which replaces white space in id. Defaults to "`-`".