Update slug reference

This commit is contained in:
facelessuser 2022-09-20 19:02:54 -06:00 committed by Martin Donath
parent 29f00a5bb8
commit ee1e675da6

View File

@ -258,7 +258,7 @@ The following configuration options are supported:
``` yaml ``` yaml
markdown_extensions: markdown_extensions:
- toc: - toc:
slugify: !!python/name:pymdownx.slugs.uslugify slugify: !!python/object/apply:pymdownx.slugs.slugify {kwds: {case: lower}}
``` ```
=== "Unicode, case-sensitive" === "Unicode, case-sensitive"
@ -266,7 +266,7 @@ The following configuration options are supported:
``` yaml ``` yaml
markdown_extensions: markdown_extensions:
- toc: - toc:
slugify: !!python/name:pymdownx.slugs.uslugify_cased slugify: !!python/object/apply:pymdownx.slugs.slugify
``` ```
[`toc_depth`](#+toc.toc_depth){ #+toc.toc_depth } [`toc_depth`](#+toc.toc_depth){ #+toc.toc_depth }