Hallo,
I have a child tag that needs different syntax by container.
For instance, if the `cite` tag is in a `blockquote` container, the output should be
<footer class="blockquote-footer text-right"><cite></cite></footer>
otherwise it should be
<cite></cite>
I try to implement this logic in Dokuwiki and I'm stuck.
I have two syntax plugins:
* one for the container: blockquote
* one for the child element: cite
I read the whole page
https://www.dokuwiki.org/devel:syntax_plugins
and I'm completely lost on how I can implement this logic.
The best should be to declare it in the container.
I have tried. I have added a `internal patterns — addPattern()`
but the parser just stop and other nested format such as link or bold does not work anymore.
Is there any standard way to wrap a child node in a container ?
Thanks
Nico