Closed laurencer closed 8 years ago
\cc @pdericson - any thoughts on this, not sure if you've come across this problem?
How about splitting on hyphen and only capitalising the words that do not contain any upper case characters?
Good idea - might implement that as an initial stop gap (behind a feature flag).
Implemented in master behind a feature flag.
Currently page names are automatically title cased based on a few rules:
my-file-name.md
becomesMy File Name
as a page. This is nice for the common case but can make a few pages look extremely messy, especially where there is an acronym:ABC Learning
becomingAbc Learning
.It would be fantastic if the user could specify whether to preserve the original casing of a file name.
One way to approach this is to embed this in-band. My current thinking is that appending a
.
at the end of the file or directory name could be used to disable any case modifications. For exampleABC-Learning..md
would becomeABC Learning
, and a folder namedATMs.
would becomeATMs
.