Publish: Support for lowercase and kebab-case slugs in URLs

Currently slugs generated for Obsidian Publish follow these rules:

  • Capitalization uses the folder or file title capitalization
  • Spaces are replaced by a + symbol

However clean web URLs typically use the following format:

  • Lowercase slugs
  • Dashes - to indicate spaces

It would be great if there was an option to use clean URLs for Publish URLs links.

Ideally this would be solved as a general setting site-wide. However, it could also be useful to enable a custom slug to be defined in the frontmatter.

2 Likes