Skip to content

Commit

Permalink
Update documentation in file toc.md in slugify part.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vyacheslav.Redlov authored and waylan committed Nov 28, 2022
1 parent 939a2fe commit 4226c1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/extensions/toc.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 "`-`".
Expand Down

0 comments on commit 4226c1e

Please sign in to comment.