Created
July 12, 2014 00:59
-
-
Save topher6345/79f645cfe5f5f7447517 to your computer and use it in GitHub Desktop.
HTML to Markdown converter using ruby
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'html2markdown'; puts HTMLPage.new(:contents => ARGF.read).markdown |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment