I want to insert HTML where the block starts and where it ends, but let the middle use normal wiki syntax. For example, this:
<myplugin>
This part uses normal wiki syntax, including allowing other syntax plugins.
</myplugin>
Might become:
<h1>Fancy header!</h1>
This part uses normal wiki syntax, including allowing other syntax plugins.
<div>Fancy footer!</div>
I'm currently doing this by handling two separate entry points, but that makes state management difficult, especially since it seems like Doku can serialize and unserialize plugins in the middle of a request (at least, I observed private class members disappearing).