b r a y d e n . o r g / Software

/ WebHome / TwikiStylePluginDev

This Web


WebHome  
Topic List  
Web Statistics 

All Webs


Books
Main
Random
Software
TWiki  

brayden.org


Home
Monthly Digest
Today's Links
Resumé
Reading List
Books RSS
Random RSS
Software RSS

Other


Dale's Blog

currently-reading
TextDrive

Style Plugin Development Page

Status

I implemented and installed this on 26 Dec 2002. See StylePlugin and StylePluginDetails.

My main concern is that I think there's a more efficient way - I added it to the outsidePREHandler function, but I think it could be done instead in startRenderingHandler.

Functional Overview

The idea is to add twiki syntax that allows style classes, and some other html features, to be used.

---"(
 blockquote text
---")

---[.stylename
 div class=stylename
---]

---{.stylename
 pre class=stylenae
---}

((stylename)(text)) -- span class=stylename

.stylename -- p class=stylename (i.e. the .stylename on a line by itself,
   followed immediately by text).

Code

Initially I'm implementing this is a plugin called StylePlugin.

Remember - plugins are located at twiki/lib/TWiki/Plugins.

-- DaleBrayden - 09 Dec 2002

 
 
Current Rev: r1.4 - 03 Jan 2003 - 22:35 GMT - DaleBrayden, Revision History:Diffs | r1.4 | > | r1.3 | > | r1.2
© 2003-2011 by the contributing authors.