Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does MarkdownSharp allow inverse translation (HTML to Markdown)?

The title is self-explaining. I would like to translate my Markdown into HTML but also the inverse direction should be possible. How to achieve this using MarkdownSharp?

In case there is no support for bidirection, what tool do you suggest me to use in repace of MarkdownSharp having these features?

Thankyou

like image 696
Andry Avatar asked Oct 24 '22 07:10

Andry


1 Answers

I don't think markdownsharp can do it, but Pandoc certainly does.

Convert Html or RTF to Markdown or Wiki Compatible syntax? tells you how to wrap Pandoc in C#.

like image 71
mb21 Avatar answered Oct 30 '22 19:10

mb21