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

HTML2​Text

by jaredmoody ST2/ST3

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

Details

  • 3 2014.10.26.07.56.07
    2 2014.05.06.17.05.29
  • github.​com
  • github.​com
  • 5 years ago
  • 3 hours ago
  • 6 years ago

Installs

  • Total 6K
  • Win 4K
  • OS X 1K
  • Linux 667
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 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28
Windows 0 0 1 0 1 3 0 1 4 3 0 1 0 0 0 3 2 1 4 2 1 2 3 3 2 0 0 1 3 2 1 0 2 2 2 1 1 2 1 1 5 3 2 2 1
OS X 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 1 1 0 0 1 0 0 0 0 1 0 1 0 0 1 1 0 1 1 0 1 1 0 0 0 1 1 0 1 1
Linux 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 1 0 1 0 0 0 1 0 1 0 0 0 0 0 1 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 :)