Wikitext 2.1 released
A minor update to the Wikitext gem, version 2.1, is now available. This release adds the ability to apply a rel="nofollow"
attribute to external links, which may be useful for search-engine optimization purposes; for example, if you use wikitext markup in your blog you may wish to add "nofollow" links to all user-submitted comments, but omit them from the content that you yourself write for your blog posts. Thanks to Mike Stangel for submitting the patch to implement this feature.
See the documentation for information on how to use this functionality.
About the gem
Wikitext is a fast wikitext-to-HTML translator with a syntax very close to that used by MediaWiki. It is a Ruby extension written with speed and robustness in mind using a Ragel-generated scanner and an extremely fast hand-coded parser, all in C. It has an enormous spec suite.
You can browse the source code repo, or download the gem from the rubygems.org downloads page. For an overview of how to use the extension check out the docs here. If you have RubyGems then you can install it with either gem install wikitext
or sudo gem install wikitext
.
If you find the extension useful please consider making a donation via PayPal.