Skip to content

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

Notifications You must be signed in to change notification settings

jaredmoody/sublime_html_to_text

Repository files navigation

HTML to Text plugin for Sublime Text

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

Installation

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 :)

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages