DevUtils-app icon indicating copy to clipboard operation
DevUtils-app copied to clipboard

Slug feature

Open CyberMew opened this issue 4 years ago • 5 comments

Similar to https://slugify.online/

I am using this for converting title to git branch names but it can have many uses as well, especially if it becomes very configurable. E.g. føø bar will become foo-bar

CyberMew avatar Nov 09 '21 04:11 CyberMew

This is now available in version 1.14.

CleanShot 2022-04-11 at 20 12 48@2x

trungdq88 avatar Apr 11 '22 13:04 trungdq88

Nice. Can we further customise it to remove numbers or change it to underscores and such in the future?

CyberMew avatar Apr 11 '22 13:04 CyberMew

There are some built-in cases for you to choose from. For more specific cases, you will be able to use custom scripts to process the input soon 😄

CleanShot 2022-04-11 at 20 33 02@2x

trungdq88 avatar Apr 11 '22 13:04 trungdq88

Oh that would be nice 👍

CyberMew avatar Apr 11 '22 13:04 CyberMew

@trungdq88 You'll not believe, I had literally created a simple JS functional in jsfiddle to convert string into slug.

This will really save me lot of time, thanks man.

mittalyashu avatar May 11 '22 16:05 mittalyashu