Slugify html links
Important

This is the documentation for v3.5.0 and lower, for documentation for v4.0.0 and higher, see https://obsidian-html.github.io/

New in v3.5.0

If you have a lot of capital letters, spaces, and other special characters in your note names, then the html links that are generated can be a bit hard on the eyes.

For this purpose, you can enable the setting toggles/slugify_html_links.

By default this setting is off. Setting this to true will make better readable links as it will replace all the spaces and special characters with dashes, and make everything lowercase.

Important notes before you enable

Enable

Add this to your config yaml:

toggles:
  slugify_html_links: True

Possibility for clobbering

The way the link rewrite works is thus:

It should be clear that it is possible to have two notes in Obsidian with very similar paths that will end up with the same paths through this rewrite. This will cause undefined behavior, but most probably the note that is processed later will overwrite the earlier note.

A kind of use that would have many issues with this, is naming notes like so:

Where an emoticon is used to differentiate between a source note, a seedling note, etc. Because all of these will be converted into:

So if you manage your vault in this way, this feature is not recommended in its current form.