[pmwiki-users] create a shortcut markup string
Menachem Shapiro
menachem.shapiro at gmail.com
Mon Jan 31 16:29:23 CST 2005
B"H
I am trying to create a custom markup for a block pattern:
Basically, I want %block color=red% to be represented by %RED%
I tried to follow the instruction given in
http://www.pmwiki.org/wiki/PmWiki/CustomMarkup, but I must be doing
something wrong.
I set this up in local/config.php:
Markup("RED","block","/%RED%/","<p style='color: red;' >");
but it didn't make the whole block red, just the first line.
What am I doing wrong?
Menachem
--
Are you interested in using Linux?
Download Libranet 2.8.1 for free and try it out.
http://www.libranet.com/trial_download.html
More information about the pmwiki-users
mailing list