diff --git a/docs/setup/extensions/python-markdown-extensions.md b/docs/setup/extensions/python-markdown-extensions.md index 42f669f04e9..7d2e06328f1 100644 --- a/docs/setup/extensions/python-markdown-extensions.md +++ b/docs/setup/extensions/python-markdown-extensions.md @@ -686,7 +686,7 @@ The following configuration options are supported: -: This option allows for +: This option allows for customization of the slug function. For some languages, the default may not produce good and readable identifiers – consider using another slug function like for example those from [Python Markdown Extensions][Slugs]: @@ -706,7 +706,7 @@ The following configuration options are supported: ``` yaml markdown_extensions: - pymdownx.tabbed: - slugify: !!python/object/apply:pymdownx.slugs.slugify + slugify: !!python/object/apply:pymdownx.slugs.slugify {} ``` The other configuration options of this extension are not officially supported diff --git a/docs/setup/extensions/python-markdown.md b/docs/setup/extensions/python-markdown.md index 4d7b0dfd738..a724e2f25da 100644 --- a/docs/setup/extensions/python-markdown.md +++ b/docs/setup/extensions/python-markdown.md @@ -257,7 +257,7 @@ The following configuration options are supported: ``` yaml markdown_extensions: - toc: - slugify: !!python/object/apply:pymdownx.slugs.slugify + slugify: !!python/object/apply:pymdownx.slugs.slugify {} ```