Write a WikiFilter which inserts your plugin.

You can either hook to the preTranslate() -section, in which case you will need to look for any lines beginning with ! and insert WikiMarkup; or you can hook to the postTranslate(), in which case you try to find the <h?> -tags, and insert direct HTML.

Up to you :-)

/Janne

On 17 Feb 2009, at 19:20, wolfgangpue wrote:


How its possible to insert a plugin after the anchor of every heading? The
plugin shall be inserted automatically on every wiki site.

The source code of the anchor is in the file JSPWikiMarkupParser.java
(method "closeHeadings()"). But how can i manage this with a plugin without
changing the JSPWikiMarkupParser.java
--
View this message in context: 
http://www.nabble.com/Plugin-after-%22heading%22-tp22062003p22062003.html
Sent from the JspWiki - User mailing list archive at Nabble.com.

Reply via email to