if you define a style in a text variable as
(:vRed:>>color=red<<:)
you can use is at as expected in wiki text:
{$:vRed} red text
however, if you do the same with custom markup
Markup('mRed', '>^>><<', '/{mRed\+}/', '>>color=red<<');
then then the formatting is not honoured, just the text expanded to
<<color ....
To make it work you need the clumsy definition
Markup('mBlue', '>^>><<', '/{mBlue\+}/', '>>color=blue<<');
This is neither intuitive nor documented! It took me quite a time to
find out. At least it would also work for text variables.
Could you fix pmWiki, such that '>>color=red<<' would work?
thanks a lot
Walter
see <http://wlkl.ch/wiki/index.php?n=My.Test2>
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users