[pmwiki-users] custom markup

nikos 231036448 at freemail.gr
Sun Apr 5 04:51:00 CDT 2009


Hi all, 

I am trying to set up a new wiki,
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?

I have read the CustomMarkup and the CustomMarkupAlt pages,
and tried some things but they didn't work
(I have no knowledge of php, 
or any other programming language)


Thanks
Nikos Papadopoulos


ps. ?things of use?

http://www.pmwiki.org/wiki/PmWiki/CustomMarkup
http://www.pmwiki.org/wiki/PmWiki/CustomMarkupAlt



###___from stdmarkup.php___###

## (:nl:)
Markup('nl0','<split',"/([^\n])(?>(?:\\(:nl:\\))+)([^\n])/i","$1\n$2");
Markup('nl1','>nl0',"/\\(:nl:\\)/i",'');

## \\$  (end of line joins)
Markup('\\$','>nl1',"/\\\\(?>(\\\\*))\n/e",
  "str_repeat('<br />',strlen('$1'))");









More information about the pmwiki-users mailing list