class TaskJuggler::RichText

RichText is a MediaWiki markup parser and HTML generator implemented in pure Ruby. It can also generate plain text versions of the original markup text. It is based on the TextParser class to implement the RichTextParser. The scanner is implemented in the RichTextScanner class. The read-in text is converted into a tree of RichTextElement objects. These can then be turned into HTML element trees modelled by XMLElement or plain text.

This class supports the following mark-ups:

The following markups are block commands and must start at the beginning of the line.

== Headline 1 ==
=== Headline 2 ===
==== Headline 3 ====

---- creates a horizontal line

* Bullet 1
** Bullet 2
*** Bullet 3

# Enumeration Level 1
## Enumeration Level 2
### Enumeration Level 3

 Preformatted text start with
 a single space at the start of
 each line.

The following are in-line mark-ups and can occur within any text block

This is an ''italic'' word.
This is a '''bold''' word.
This is a ''''monospaced'''' word. This is not part of the original
MediaWiki markup, but we needed monospaced as well.
This is a '''''italic and bold''''' word.

Linebreaks are ignored if not followed by a blank line.

[http://www.taskjuggler.org] A web link
[http://www.taskjuggler.org The TaskJuggler Web Site] another link

[[item]] site internal internal reference (in HTML .html gets appended
                                           automatically)
[[item An item]] another internal reference
[[function:path arg1 arg2 ...]]

<nowiki> ... </nowiki> Disable markup interpretation for the enclosed
portion of text.