title: MarkdownSharp/Markdown.NET: How to retrieve non-formatted text from markdown?
body: <p>Sometimes it may be useful to transform markdown to pure text (for sending in e-mail for instance).</p>
  
  <p>Does any of these libraries support this functionality? (I'm actually more insterested in MarkdownSharp)</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Responding to Jorn's comment. I'll clarify what I expect from this kind of conversion:<br>
  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.</p>
  
  <p>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.</p>
  
  <p><strong>EDIT 2</strong></p>
  
  <p>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.</p>
  
  <p><strong>EDIT 3</strong></p>
  
  <p><strong>I agree to John. The best solution seems to be to convert from markdown to HTML and then strip the resulting HTML.</strong></p>
  
  <p>And this task seems to be already solved: <a href="https://stackoverflow.com/questions/1349023/how-can-i-strip-html-from-text-in-net">How Can I strip HTML from Text in .NET?</a></p>