>
> I didn't try a snippet for that, but I'll be happy to take a crack at it
> later today if the instance is exposed now.
>
To clarify, I have exposed the instance and written the snippet using
Doxia sink to generate the html file in the pom.xml. I meant that we could
factor out the sink part in a default method in an interface and expose it
to javascript for providing an alternate implementation if wanted. It is
this part I am unsure of how to do.