[pmwiki-users] date markup

Peter Bowers pbowers at pobox.com
Thu Mar 6 09:07:28 CST 2008


I have no idea if this will conflict with any other markups or whatever out
there, but this works:

  Markup('~~','>~~~','/(?<!~)~~(?!~)/',"$CurrentTime");

This is modified very slightly from the ~~~ and ~~~~ markup definitions in
scripts/author.php

-Peter

On Thu, Mar 6, 2008 at 2:45 PM, Sameer Kumar <skumar at eharch.com> 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.
>
>
>
> As far as I know, such a markup does not exist. Could someone help me out
> with the code for a custom markup? I shall be thankful.
>
>
>
> Sameer
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080306/ddf08b91/attachment.html 


More information about the pmwiki-users mailing list