1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-28 01:10:58 +01:00
mkdocs-material/docs/setup/extensions
Kuan-Yi Li 7d6d8d7a7c Updated slugify documentation
Unicode, case-sensitive reference setting causes error below.

```
yaml.constructor.ConstructorError: expected a mapping node, but found scalar
```

Update related sections in the documentation to address this issue.

Newer Python-Markdown has `slugify_unicode` built-in, so this

```yaml
markdown_extensions:
  - toc:
      slugify: !!python/name:markdown.extensions.toc.slugify_unicode
```

also works for case-insensitive use cases.

Fixes: ee1e675da6 ("Update slug reference")
2024-04-01 07:34:10 +08:00
..
index.md Prepare 9.4.0 release 2023-09-21 18:56:35 +02:00
python-markdown-extensions.md Updated slugify documentation 2024-04-01 07:34:10 +08:00
python-markdown.md Updated slugify documentation 2024-04-01 07:34:10 +08:00