Converts files, selection and clipboard content from HTML to Text/Valid markdown using html2text
In the command Pallette choose Package Control: Install Package and select HTML2Text
Clone the repository in your Sublime Text "Packages" directory:
git clone https://github.com/jaredmoody/sublime_html_to_text.git
The "Packages" directory is located at:
-
OS X:
~/Library/Application Support/Sublime Text 3/Packages/
-
Linux:
~/.config/sublime-text-3/Packages/
-
Windows:
%APPDATA%/Sublime Text 3/Packages/
- HTML2Text: Convert file
- HTML2Text: Convert selection
- HTML2Text: Convert clipboard content
Thanks to sublime-html-to-haml for a pattern to follow and to html2text for all the heavy lifting :)