wiki:WikiGoodiesPlugin

Version 4 (modified by cboos, 9 years ago) (diff)

Demonstrating the plugin's documentation macros

Wiki Goodies for Trac

Description

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.)

Bugs/Feature Requests

Existing bugs and feature requests for WikiGoodiesPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out the source for WikiGoodiesPlugin from Subversion at http://trac-hacks.swapoff.org/svn/wikigoodiesplugin.

Example

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:

Additional Goodies

Smileys

ShowSmileys(5)?

Entities

ShowEntities(4)?

Symbols

ShowSymbols(5)?

Known Issues

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).

See Also

The EmoticonsPlugin also provides support for smileys, and is a little bit more lightweight than this plugin.

Author/Contributors

Author: cboos
Contributors:

TagIt(plugin,cboos,0.9,1.0)?