ryonakano / chcase

A small library to convert case of a given string
https://ryonakano.github.io/chcase/chcase
GNU Lesser General Public License v3.0
6 stars 0 forks source link

[SUGGESTION] Add alternating case option #8

Open diskscape opened 3 years ago

diskscape commented 3 years ago

As many of you may know, alternating case (aka "mock case" or "spongebob mocking text") is a very common way to format text on the internet, by "aLtErNaTiNg CaSe LiKe ThIs." I think this would be a very helpful addition to this app.

mocking-spongebob-1556133078

There are rules that would make it better and more accurate, like differentiating L and I by always using "Li" instead of "lI" to avoid confusion and improve readability. A good way to do this is to shift the mock case over a bit so that the L is always in the right position to be uppercase.

If you were to add it, make sure to show it off in the screenshots because this could be a selling point. Manually alternating case is very annoying and can be difficult with long strings of text.

ryonakano commented 3 years ago

Sounds interesting and yeah manually changing case for each word would be painful 😅

Just transferring to this repository because the case conversion is handled using this library.