|Version 5 (modified by athomas, 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.)
If you have any issues, create a new ticket.
Download the zipped source from here.
You can check out the source for WikiGoodiesPlugin from Subversion at http://trac-hacks.swapoff.org/svn/wikigoodiesplugin.
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:
That plugin works for Trac's trunk version (>= r2734, in order to support HTML entities).
The plugin will also work with Trac-0.9.3, which will be probably released only end of this week (Note that it already works with branches/0.9-stable@2735).
The EmoticonsPlugin also provides support for smileys, and is a little bit more lightweight than this plugin.