[pmwiki-users] date markup
Sameer Kumar
skumar at eharch.com
Thu Mar 6 14:00:07 CST 2008
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.
More information about the pmwiki-users
mailing list