I'm afraid the content of [[ ]]
is handled by either the internallink mode or the external link.
Those modes aren't configured to accept any other mode (because of the implementation of accepts
which doesn't accept anything here).
What you could do is:
- Match the whole pattern. ie: not just what's inside the
@..@
, but what's inside the[[ ]]
- Define a priority smaller than the one of the
internallink
(300) and the one of the externallink (330). (Hence, 299 is already fine)
To handle it, you might then want to rely on the internallink
method of the renderer