C# Class Castle.MonoRail.Framework.TransformFilters.Formatters.WikiFormatter

Converts wiki formatted text to html formatted text.
The following tags are parsed: italic bold bold italic underlined striked code pre box pipe tables More about style formats More about tables
Show file Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
Format ( string wiki ) : string

Converts a string with wiki formatting to html formatting.

Private Methods

Method Description
BuildTable ( string markup ) : string

Converts a wiki pipe formatting to an HTML table

MatchTables ( StringBuilder sb ) : void
MatchWithSimpleReplace ( StringBuilder sb, Regex pattern, string openingTags, string closingTags ) : void
SplitByString ( string testString, string split ) : string[]

Method Details

Format() public method

Converts a string with wiki formatting to html formatting.
public Format ( string wiki ) : string
wiki string the wiki formatted code
return string