diff --git a/docs/content/documentation/content/linking.md b/docs/content/documentation/content/linking.md index a426e0641b..5bc3899a67 100644 --- a/docs/content/documentation/content/linking.md +++ b/docs/content/documentation/content/linking.md @@ -6,7 +6,7 @@ weight = 50 ## Heading id and anchor insertion While rendering the Markdown content, a unique id will automatically be assigned to each heading. This id is created by converting the heading text to a [slug](https://en.wikipedia.org/wiki/Semantic_URL#Slug) if `slugify.anchors` is set to `"on"` (the default). -If `slugify.paths` is set to `"safe"`, whitespaces are replaced by `_` and the following characters are stripped: `#`, `%`, `<`, `>`, `[`, `]`, `(`, `)`, \`, `^`, `{`, `|`, `}`. +If `slugify.paths` is set to `"safe"`, whitespaces are replaced by `-` and the following characters are stripped: `#`, `%`, `<`, `>`, `[`, `]`, `(`, `)`, \`, `^`, `{`, `|`, `}`. If `slugify.paths` is set to `"off"`, no modifications are made, and you may be left with nominally illegal ids. A number is appended at the end if the slug already exists for that article. For example: