# HTML to Text plugin for Sublime Text Converts files, selection and clipboard content from HTML to Text/Valid markdown using [html2text](https://github.com/aaronsw/html2text) ## Installation ### [Sublime Package Control](http://wbond.net/sublime_packages/package_control) In the command Pallette choose **Package Control: Install Package** and select **HTML2Text** ### Git installation 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/ ## Usage ### In Command Palette: * **HTML2Text: Convert file** * **HTML2Text: Convert selection** * **HTML2Text: Convert clipboard content** ## Credits Thanks to [sublime-html-to-haml](https://github.com/pavelpachkovskij/sublime-html-to-haml) for a pattern to follow and to [html2text](https://github.com/aaronsw/html2text) for all the heavy lifting :)