Skip to content

Normalize slug file name

Compare
Choose a tag to compare
@symunona symunona released this 23 Nov 13:57
· 18 commits to main since this release

!!! Breaking change !!!

If you have been using slug, you may have realized that filenames get normalized skipping spaces. However when there was something like test -- something it would get normalized to test----something. Instead, now any time there is a situation like this, it'll get normalized to one dash. In the above case, it'd be test-something.

Also, fixed a minor bug: on the preview, the draft indicator now works properly.