Extending Wiki Markup          
  
   
 


Wiki Markup can be extended by adding a new page to the OpenForum/Extensions page. The page must have an attachment names renderer.sjs. The renderer.sjs file contains Javascript that is run on the server whenever the extension is used in a page.

The new extension takes the form:

[{PageName attribute1="value 1" attribute2="value 2"}]

When rendered in a page the attributes are passed to the renderer.sjs Javascript and the returned string pasted onto the page.

by Admin on 21/04/2008 at 10:09 PM