Here is one idea
$opt       = \ParseArgs(implode (' ', array_slice ($m, 1)));

but I'm hoping there is some helper function built in?


On Mon, 7 Feb 2022 at 14:56, Simon <nzsk...@gmail.com> wrote:

> I'm looking for something like this
>  $opt       = \ParseArgs($m);
> (which doesn't return what I want)
> as parseargs() expects a string
>
> where $m is returned from the markup()  function,
> and $opt is an array of the parameter names and values passed to a
> directive.
>
> Any ideas?
>
> tia
>
> Simon
>
_______________________________________________
pmwiki-devel mailing list
pmwiki-devel@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel

Reply via email to