[pmwiki-devel] Creating a page text variable in a recipe

Petko Yotov 5ko at 5ko.fr
Mon Sep 28 03:45:46 CDT 2009


On Monday 28 September 2009 10:18:16 Simon wrote:
> {directives}
> {title:Song Sung Blue}
> {subtitle:Neil Diamond}
> {album:Hot August Night}
> {start_of_chorus}
> [C]Song sung [F]blue
> {end_of_chorus}

Couldn't you just use :

:title:Song Sung Blue
:subtitle:Neil Diamond
:album:Hot August Night

instead of the ones in {braces} ? Change your markup parser to recognize this.

This way, they will work as regular PageTextVariables from other pages and 
from pagelists.

This could be simpler.

Petko



More information about the pmwiki-devel mailing list