[pmwiki-users] call Markup() from a function

Patrick R. Michaud pmichaud at pobox.com
Sat Jul 30 10:17:46 CDT 2005


On Sat, Jul 30, 2005 at 08:37:24AM +0200, Sebastian Siedentopf wrote:
> I have problems to alter a markup x from stdmarkup.php or add a new  
> markup x if a particular custom markup y is called:
> 
>  Markup('y',...,fct_y());
> 
>  function fct_y() {
>  Markup('x',...);
>  }
> 
> The Markup() call for x seems to have no effect when called from  
> inside function fct_y().

You're wanting a markup to be able to add a new markup rule...?
Hmmm, it can be done, but it won't be pretty, and I suspect there
would be other easier ways to do it.  Can you give a slightly
more detailed example of what you're wanting to do?

Pm





More information about the pmwiki-users mailing list