[pmwiki-users] custom markup
Petko Yotov
5ko at 5ko.fr
Sun Apr 5 07:13:16 CDT 2009
On Sunday 05 April 2009 11:51:00 nikos wrote:
> and I would like to be able to use
> the symbol
> <br>
> parallel to the symbol
> \\
> to create new lines.
>
> Is this possible, and how?
Markup('<br>','inline','/<br\\s*\\/?>/i',"<br />");
# optional, if you may have <br clear='all'>
Markup('<br clear=all>','inline',
'/<br\\s+clear=([\'"]?)all\\1\\s*\\/?>/i',"<br clear='all' />");
> I have read the CustomMarkup and the CustomMarkupAlt pages,
> and tried some things but they didn't work
One thing to know is that the symbols "<" and ">" are encoded in the page
source text as "<" and ">" and in custom markup the encoded ones should
be used.
Thanks,
Petko
More information about the pmwiki-users
mailing list