Code Sample

Mar 2, 2008 at 3:21 AM
Does anyone have a quick code sample they can past in.

Mar 3, 2008 at 12:56 AM
Edited Mar 3, 2008 at 12:57 AM
The most simple usage would be (in C#):

string input = "This _text_ is going to be *formatted* using %{color=#f00;}Textile.NET%.";
string result = Textile.TextileFormatter.FormatString(input);
// result will be: "<p>This <em>text</em> is going to be <strong>formatted</strong> using <span style="color=#f00;;">Textile.NET</span>.</p>"
Mar 12, 2008 at 2:04 AM
Sweet, I knew it would be that simple.