Thursday, March 6, 2008, 1:45:57 PM, Sameer Kumar wrote:

> Just like the "~~~~" markup inserts the Author name and a date stamp,
> and "~~~" inserts only the AuthId, I would like to have some markup
only
> for the date stamp.

> For example, one could use "~~" to insert the date. 

try

$ROSPatterns['/(?<!~)~~(?!~)/e']
     = "FmtPageName('\$CurrentTime', \$pagename)";
Markup('~~','<links','/(?<!~)~~(?!~)/',"$CurrentTime");

(...)

This worked! Thanks a lot.

_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to