[pmwiki-users] {(...)} markup recipe available

The Editor editor at fast.st
Wed Apr 11 11:00:50 CDT 2007


On 4/11/07, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> I've now published my version of the {(...)} markup as a recipe,
> available at
>
>    http://www.pmwiki.org/wiki/Cookbook/MarkupExpressions
>
> The description on the recipe page only scratches the surface of
> what the recipe can do.  I'm particularly happy with the
> {(ftime ...)} markup, which seems to be able to handle just
> about any date-and-time formatting issue that I can think of
> to throw at it.
>
> Many thanks to Dominique Faure for ideas about nested expression
> handling.  Nested expressions allow for things like:
>
>    {(toupper (substr "Hello World" 2 7))}    # "LLO WOR"
>
>    {(substr (ftime "%A") 2 6)}               # "dnesda"
>
> The recipe is a CoreCandidate, and may find itself in the
> pmwiki-2.2.0 release stream before too long.  However, it's
> also a bit new, so it's possible/likely that some further
> tweaks will be made as I get feedback from people.
>
> Comments and questions welcomed as always.
>
> Pm


Perfect timing Pm!  I was just about to release the new ZAPtoolbox,
but now can upgrade the markups at the same time!

Very nice!  Love the nesting of functions!!

Cheers,
Dan



More information about the pmwiki-users mailing list