You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but preferably with just $Element rather than needing to overload the text field to supply additional arguments), but maybe I just haven't yet understood the concept here and someone could clarify?
To give an example: I am thinking of an extension with some custom rule which would invoke a bit more markup so that I would like to return something like
There's some info in #507 (comment), give me a ping if you need any more info though. You seem to have the gist, handler is the function to call, 'text' is the argument.
From what I understand, these blocks returned for all the rules (like
['element'=>['name'=>...]]
) are processed by one of the handlers (parsedown/Parsedown.php
Line 1399 in 1bf24f7
line
which I don't seem to find.)As this concept seems to exist, I would expect each
element
to be rendered by it'shandler
if specified (likeparsedown/Parsedown.php
Line 1425 in 1bf24f7
text
field to supply additional arguments), but maybe I just haven't yet understood the concept here and someone could clarify?To give an example: I am thinking of an extension with some custom rule which would invoke a bit more markup so that I would like to return something like
and then have a handler
template(array $options)
to generate my markup from a template.The text was updated successfully, but these errors were encountered: