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
  • 46 minutes ago
  • 5 years ago

Installs

  • Total 5K
  • Win 4K
  • OS X 999
  • Linux 634
Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7
Windows 1 0 2 4 0 0 2 2 3 0 2 1 1 0 0 3 1 0 1 2 2 2 3 1 2 0 2 4 2 1 2 3 2 0 2 0 3 0 2 2 1 1 2 1 2
OS X 1 1 0 0 0 1 0 0 0 0 0 0 0 1 1 1 0 0 0 0 1 0 0 0 1 1 0 0 0 0 1 0 0 0 0 1 0 2 2 2 0 0 0 0 1
Linux 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 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 :)