Wednesday, 15 July 2015

c# - Convert Textile to plain text -



c# - Convert Textile to plain text -

how can clean string textile markup obtain plain-text? in c#?

for example, string

hello! how *do do* ? y = 3 * x

..will converted to:

hello! how do ? y = 3 * x

i need convert textile string, can found markup of textile syntax ( http://en.wikipedia.org/wiki/textile_(markup_language) ). char "" one. there "*", "#", "*#", "_", "|", "h1.", "h2."... , on.

i temporarily solved problem converting textile string html, html plain-text. bad bad bad solution.

you can utilize textile.net http://textilenet.codeplex.com/ texttile formatter .net

c# plaintext textile

No comments:

Post a Comment