|Version 8 (modified by cboos, 9 years ago) (diff)|
Wiki Goodies for Trac
This plugin extends the Trac Wiki in several ways:
- Support for displaying smileys, as in MoinMoin
- Support for inserting HTML 4.0 entities (named entities and numerical entities)
- Support for replacing common text idioms by their corresponding symbols (e.g. arrows, fractions, etc.)
- Support for Mozilla style markup for single words: *this* /is/ _important_ becomes this is important
If you have any issues, create a new ticket.
Download the zipped source from here.
There are 3 new macros that can be used to conveniently display all the newly introduced markup.
Simply copy&paste the following wiki snippet somewhere into your Wiki (e.g. in WikiFormatting):
=== Additional Goodies === ==== Smileys ==== [[ShowSmileys(5)]] ==== Entities ==== [[ShowEntities(4)]] ==== Symbols ==== [[ShowSymbols(5)]]
(the argument is the number of columns to be used in the displayed table)
For the entities, only the named ones are shown. For help on using the numerical entities, see for example those tips.
Now that the plugin is used in this Trac, one can see what the above Wiki snippet does:
The plugin works for Trac-0.9, starting with 0.9.3 (i.e. it won't work for 0.9.2, for example).
The plugin also works for Trac's trunk version (version >= r2734, in order to support HTML entities).
The EmoticonsPlugin also provides support for smileys, and is a little bit more lightweight than this plugin.