From ee1e675da613fb26b71d0385f732a55eac6aea73 Mon Sep 17 00:00:00 2001 From: facelessuser Date: Tue, 20 Sep 2022 19:02:54 -0600 Subject: [PATCH] Update slug reference --- docs/setup/extensions/python-markdown.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/setup/extensions/python-markdown.md b/docs/setup/extensions/python-markdown.md index d29bba97e..45f5c1259 100644 --- a/docs/setup/extensions/python-markdown.md +++ b/docs/setup/extensions/python-markdown.md @@ -258,7 +258,7 @@ The following configuration options are supported: ``` yaml markdown_extensions: - toc: - slugify: !!python/name:pymdownx.slugs.uslugify + slugify: !!python/object/apply:pymdownx.slugs.slugify {kwds: {case: lower}} ``` === "Unicode, case-sensitive" @@ -266,7 +266,7 @@ The following configuration options are supported: ``` yaml markdown_extensions: - toc: - slugify: !!python/name:pymdownx.slugs.uslugify_cased + slugify: !!python/object/apply:pymdownx.slugs.slugify ``` [`toc_depth`](#+toc.toc_depth){ #+toc.toc_depth }