Skip to content

Add an optional callback to titlecase - #4

Closed
dcwatson wants to merge 2 commits into
ppannuto:masterfrom
dcwatson:master
Closed

dcwatson wants to merge 2 commits into
ppannuto:masterfrom
dcwatson:master

Conversation

@dcwatson

Copy link
Copy Markdown

There are times when an application may want more control over how certain words are title-cased. Specifically, in my case, I have several titles in all caps and want to retain the capitalization of certain abbreviations. I figured the most generic way to handle something like this would be to introduce a callback function that had the first chance to take action on each word.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant