wiki:WikiGoodiesPlugin

Version 9 (modified by Christian Boos, 18 years ago) (diff)

New feature: automatic detection of E-mail addresses (aka smallest IWikiSyntaxProvider ever, see r774)

Wiki Goodies for Trac

Description

This plugin extends the Trac Wiki in several ways:

  • Support for displaying smileys, as in MoinMoin
  • HTML 4.0 entities (named entities and numerical entities)
  • Automatic replacement of common text idioms by their corresponding symbols (e.g. arrows, fractions, etc.)
  • Mozilla style markup for single words: *this* /is/ _important_ becomes this is important
  • Automatic addition of mailto: links to E-mail addresses

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 [download:wikigoodiesplugin here].

Source

You can check out the source for WikiGoodiesPlugin from Subversion at http://trac-hacks.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

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

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,0.10)?