Skip to content

Instantly share code, notes, and snippets.

@kmikael
Created June 20, 2012 06:15
Show Gist options
  • Save kmikael/2958406 to your computer and use it in GitHub Desktop.
Save kmikael/2958406 to your computer and use it in GitHub Desktop.
Preview your README in Marked
#!/usr/bin/env ruby
README = "README.md"
unless File.exist? README
puts 'No README file found'
exit 1
end
`open -a Marked #{README}`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment