[pmwiki-users] How does the markup ~~~ work...
Patrick R. Michaud
pmichaud at pobox.com
Thu Jul 7 00:15:35 CDT 2005
On Thu, Jul 07, 2005 at 12:08:03AM -0500, Jeremy Sproat wrote:
> ...And how can I define markup that modifies the wikitext upon saving?
>
> It looks like every other markup modifies the wikitext after it's read
> from disk and before it's sent to the browser, but the ~~~ markup
> seems to change the wikitext after it's edited but before it's saved
> to disk. Is this correct?
>
> How is this done? Wow, this gives me so many ideas...!
It's done through the $ROSPatterns variable. ("ROS" here means
"replace on save". :-)
Take a look at script/authors.php for an idea of how it works for
the ~~~~ markup.
Pm
More information about the pmwiki-users
mailing list