[pmwiki-users] Fixme icon

Robert Riebisch rr at bttr-software.de
Mon Dec 2 05:28:20 PST 2019


Hi,

I'm trying to implement a (:fixme:) markup that shows up as a special
icon like in DokuWiki.

The following works for me, but I'm not sure about the number of
backslashes in: \\(:fixme:\\)

	Markup('fixme', 'directives', '/\\(:fixme:\\)/i',
"$PubDirUrl/fixme.gif\"fixme\"");

Does the number depend on the usage of ' or "?
I had look at "scripts/stdmarkup.php", but still don't have a clue.

Cheers,
Robert
-- 
              +++ BTTR Software +++
     Home page: https://www.bttr-software.de/
DOS ain't dead: https://www.bttr-software.de/forum/



More information about the pmwiki-users mailing list