Hi,
I'm not sure that this is what you were looking for.
I had to do something similar: adding a "page break" in articles to cut the content at a position specified by editors.
I used a simple solution: a custom "AssetDirective" implementation. I think that it's also the best solution for performances.
This class is injected in wcmqs/WEB-INF/classes/wcmqs-webapp-context.xml:
<bean id="assetDirective" class="org.alfresco.wcm.client.directive.AssetDirective"/>
Regards,
Marco