ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

HTML2​Text

by jaredmoody ALL

Converts files, selection and clipboard content from HTML to Text/Valid markdown using html2text

Details

  • 2014.10.26.07.56.07
    2014.05.06.17.05.29
  • github.​com
  • github.​com
  • 10 years ago
  • 1 hour ago
  • 11 years ago

Installs

  • Total 8K
  • Win 6K
  • Mac 2K
  • Linux 903
Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16
Windows 0 0 0 0 1 0 1 2 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 0 0 0 1 0 1 0 0 0 0 0
Mac 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

HTML to Text plugin for Sublime Text

Converts files, selection and clipboard content from HTML to Text/Valid markdown using html2text

Installation

Sublime 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 for a pattern to follow and to html2text for all the heavy lifting :)