SublimeText-Markdown / MarkdownEditing

Powerful Markdown package for Sublime Text with better syntax understanding and good color schemes.
MIT License
3.16k stars 648 forks source link

Command Palette: Convert HTML to Markdown #99

Open maliayas opened 10 years ago

maliayas commented 10 years ago

Provide a robust "HTML to Markdown" feature via command palette. This file may help.

@ttscoff Would you be interested in working on this bug? I believe you've a good experience on this subject.

ttscoff commented 10 years ago

Sure. What's the scenario? Entering a URL from the web, running it on a currently-open HTML file, etc.?

On 22 Nov 2013, at 22:37, Ali Ayas wrote:

Provide a robust "HTML to Markdown" feature via command palette. This file may help.

@ttscoff Would you be interested in working on this bug? I believe you've a good experience on this subject.


Reply to this email directly or view it on GitHub: https://github.com/SublimeText-Markdown/MarkdownEditing/issues/99

maliayas commented 10 years ago

Thanks. To keep it simple, current buffer is enough I think. If there is selection, only selection, if not, whole buffer.

maliayas commented 10 years ago

I'd like to add this link just for reference: http://neocotic.com/html.md/ It's a successful converter written in JS. I don't know if it may help us though.

Edit: By updating the bug, I don't mean we need to hurry up in this. Just reference.

felixhao28 commented 9 years ago

FYI, html2text is a python implementation.