Skip to content

Commit ee1e675

Browse files
facelessusersquidfunk
authored andcommitted
Update slug reference
1 parent 29f00a5 commit ee1e675

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/setup/extensions/python-markdown.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -258,15 +258,15 @@ The following configuration options are supported:
258258
``` yaml
259259
markdown_extensions:
260260
- toc:
261-
slugify: !!python/name:pymdownx.slugs.uslugify
261+
slugify: !!python/object/apply:pymdownx.slugs.slugify {kwds: {case: lower}}
262262
```
263263

264264
=== "Unicode, case-sensitive"
265265

266266
``` yaml
267267
markdown_extensions:
268268
- toc:
269-
slugify: !!python/name:pymdownx.slugs.uslugify_cased
269+
slugify: !!python/object/apply:pymdownx.slugs.slugify
270270
```
271271

272272
[`toc_depth`](#+toc.toc_depth){ #+toc.toc_depth }

0 commit comments

Comments
 (0)