Skip to content
Instant Preview for GitHub's README formats
Ruby JavaScript HTML
Find file
Latest commit dee22d7 Apr 25, 2016 @kei-s Merge pull request #108 from pazjacket/tachikoma/update-20160424135358
Exec tachikoma update 20160424135358


GitHub Preview TravisCI Dependency Status PullReview stats Code Climate Test Coverage

App on Heroku

Preview script

Put this into your path at e.g. ~/bin/github-preview and chmod +x it.
Then github-preview someproject/Readme.markdown

#!/usr/bin/env ruby
# open a given markdown file via github preview app
raise "gime a file!!" unless ARGV[0]

require 'cgi'
content =[0])
url = ''

exec "open '#{url}/?text=#{CGI.escape content}&format=markdown'"

Local development

bundle exec rspec spec
bundle exec thin start
open http://localhost:3000

Copy to Clipboard

Using ussy/clippy. Thanks a lot!

Something went wrong with that request. Please try again.