diff --git a/docs/setup/extensions/python-markdown-extensions.md b/docs/setup/extensions/python-markdown-extensions.md index 42f669f04..7d2e06328 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 4d7b0dfd7..a724e2f25 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 {} ```