MarkdownEditing icon indicating copy to clipboard operation
MarkdownEditing copied to clipboard

Command Palette: Convert HTML to Markdown

Open maliayas opened this issue 10 years ago • 4 comments

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.

maliayas avatar Nov 23 '13 04:11 maliayas

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

ttscoff avatar Nov 23 '13 10:11 ttscoff

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

maliayas avatar Nov 23 '13 11:11 maliayas

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.

maliayas avatar Dec 06 '13 21:12 maliayas

FYI, html2text is a python implementation.

felixhao28 avatar Oct 13 '14 08:10 felixhao28