Summary: Uncapitalize links
Created: 2006-05-21 05:32
Another option allowing the use of an uncapitalised title may be useful; it can be done while using, for example,
If PmWiki adds some string case conversion code, perhaps that code should
..."If PmWiki adds some string case conversion code"...
Propose a markup...?
How about using "^" to signal uppercase, "_" to signal lower case, and "^_" to signal initial caps and wrapping them either in single square, or curly, brackets, like this:
Pico May 23, 2006, at 09:31 PM
The Cookbook:MarkupExtensions recipe already uses
In some sense I'd like to have a generic markup that means "reformat the text". In addition to doing upper/lower/title case conversions, we also have an outstanding issue of wanting to be able to reformat dates and times. So, something that could generically handle all of these seems to be warranted.
The grave (backtick or backquote) seems very underutilized:
Pico May 24, 2006, at 11:00 AM
With backtick it's hard to know where the beginning and ending is. Each of the examples above doesn't include values with whitespace, and once whitespace is introduced, it's hard to know what's being affected.
Also, the backticks will look like apostrophes to many people. So, it's hard to see the difference between (or know what will happen with):
`Will this text be capitalized, since it has an `AA` in it? `aa` `Will this text be capitalized, since it has an 'AA' in it? `aa`
Of course, things get worse when we have something like:
`this is bold and caps and this is just caps`AA`
How about a directive, like (:format:)? Could that be used to define some sort of string translation that could apply to all subsequent instances whenever a specified string, or its source, was rendered?
For example, for the current PITS proposal, could a (:format:) directive allow an author to specify the title by reference to its underlying source (
The advantages of this would be that
An alternative approach might be to look to wikistyles and provide extended functionality that allows a custom style to direct that text be reformatted whenever that custom style is invoked.
See Martin Fick's post about a (:linkpage args ...:) that would add the args to any page links on the page containing this directive automatically so that you would not have to add it manualy to every link on the page.