[Pmwiki-users] Header Reversal?
Patrick R. Michaud
pmichaud
Thu Feb 19 23:35:12 CST 2004
On Thu, Feb 19, 2004 at 04:17:58PM -0500, PmWiki at ThunderBunny.org wrote:
> I'd like to reverse the behavior of the headers (!, !!, !!!) so that more is bigger. Can someone point me in the right direction?
$DoubleBrackets['/^(!{1,6})/e'] = 'substr("!!!!!!!",strlen("$1"))';
seems to work--see http://www.pmichaud.com/wiki/Development/HeaderReversal.
Essentially this substitution is just replacing an initial "!" with "!!!!!!",
an initial "!!" with "!!!!!", "!!!" with "!!!!", etc.
Pm
More information about the pmwiki-users
mailing list