I wish to lowercase and dash separate selected text. So if I select something like :
Hello World
, it would give me hello-world
.
I get how to do the first three actions :
But I am not sure how to do the dash separation action. I don't believe KM provides a native way to do it.
One way I see how I can do this is by using regex and swapping all spaces with a dash, whilst trimming whitespace beforehand but perhaps there is a better way to do this as I am not too fond of regex.