Updated: Just use qutebrowser (and disable javascript). The web is done for.
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/ruby | |
| # Place this file in /usr/local/bin/ | |
| # It uses Github API to generate the HTML from the Markdown | |
| # It includes the Primer CSS stylesheet | |
| # It adds the body class needed and some spacing for the body | |
| # It opens Chrome with the HTML generated | |
| # It deletes the file when you interrupt the process | |
| require 'bundler/inline' |