[pmwiki-users] Creating GTD @Context by modifying !Category markup

Pico Ben-Amotz pmwiki at ben-amotz.com
Sat Sep 8 16:38:45 CDT 2007


On 9/8/07, Mike Shanley <up at upisup.com> wrote:
>
>
> Pico Ben-Amotz wrote:
> >> In config.php, write this:
> >>
> >> Markup('[[!','<links','/\[\[@([^\|\]] ?)\]\]/',
> >>   "<span class='category'>[[$CategoryGroup/$1]]</span>")
> Well the first '[[!' is the name and doesn't affect the markup. Making
> it the same replaces the OLD categories markup, which saves that much
> page processing. Perhaps making it parse early on (note the '<[='). I'm
> sorry I couldn't be of more help.
>
> Markup('[[!','<[=','/\[\[\@([^\|\]] ?)\]\]/',
>   "<span class='category'>[[$CategoryGroup/$1]]</span>");
>
>
> I'm sorry I couldn't test my suggestions first, as I'm away from home today.
Nope, same behavior as before (the at-sgn displays in the link, which
still points to the current group.
>
> I'm sorry I couldn't test my suggestions first, as I'm away from home today.
>
I appreciate that you answered and offered ideas from the road.  Thanks.



More information about the pmwiki-users mailing list