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
  • 9 years ago
  • 2 hours ago
  • 10 years ago

Installs

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