Sometimes it may be useful to transform markdown to pure text (for sending in e-mail for instance).
Does any of these libraries support this functionality? (I'm actually more insterested in MarkdownSharp)
EDIT
Responding to Jorn's comment. I'll clarify what I expect from this kind of conversion:
Markdown has special characters that, depending on context, only have formatting meaning. The **,=,- characters for instance. It would be nice if I could clear the text from formatting characters.
I'm not sure what would be the best approach and what characters should be eliminated, nor I know what to do with links for instance, but I think someone might have done something in this sense before.
EDIT 2
Found a good example: Stackoverflow uses this kind of markdown clearing in the "Questions" list. I'm quite sure it clears the markdown formatting before rendering the question content brief, otherwise it would contain line breaks, strongs, H1s and so forth.
EDIT 3
I agree to John. The best solution seems to be to convert from markdown to HTML and then strip the resulting HTML.
And this task seems to be already solved: http://stackoverflow.com/questions/1349023/how-can-i-strip-html-from-text-in-net