mixmark-io / turndown

🛏 An HTML to Markdown converter written in JavaScript
https://mixmark-io.github.io/turndown
MIT License
8.67k stars 873 forks source link

Question: Turndown vs Showdown #333

Open stokito opened 4 years ago

stokito commented 4 years ago

I just want to ask you for tip. I have a blog app that supports only storing of html files on server side but I want to make an editor with Markdown syntax. One option is to find an editor with already implemented button in editor Switch to Markdown/Visual editing. Maybe you can recommend any? Another option is to do the conversion myself. So I found Turndown and Showdown and now confused what is a difference between them. As far I understood the Showdown is bidirectional. Maybe you can explain pros/cons of them? Thank you.

P.S. just found Dillinger editor that looks like feet my needs

tiagorangel2011 commented 8 months ago

If you want to convert markdown to HTML, use Marked.js If you want to convert HTML to markdown, use Showdown (it has more Github stars lol)