[pmwiki] Re: [Pmwiki-users] Whitepaper about markup strategy

Jean-Claude Jean-Claude
Sat May 17 01:16:06 CDT 2003


| If you want these, add the following to local.php:
|=20
| $InlineReplacements['/\\[\\*(.*?)\\*\\]/'] =3D "<strong>\$1</strong>";
| $InlineReplacements['/\\[\\/(.*?)\\/\\]/'] =3D "<em>\$1</em>";
| $InlineReplacements['/\\[\\*\\/(.*?)\\/\\*\\]/'] =3D=20
|    "<em><strong>\$1</strong></em>";
| $InlineReplacements['/\\[_(.*)_\\]/'] =3D "<u>\$1</u>";
| $InlineReplacements['/\\[=3D\\]/'] =3D "<br>";

Well! ['/\\[=3D\\]/'] =3D "<br>"; does not work ([=3D already in use ).
I suggest  ['/\\[.\\]/'] which works fine ( a full stop between square =
brackets)

Also, on my server at least, */ --- */ does not work properly, neither =
/* --- */. I have no fix nor explanation for that! =20

Jean-Claude





More information about the pmwiki-users mailing list