How to print from GitHub

前端 未结 20 1409
伪装坚强ぢ
伪装坚强ぢ 2021-01-29 20:17

If I want to print a markdown file from GitHub as it appears on screen, for example: https://github.com/RestKit/RestKit/blob/master/Docs/Object%20Mapping.md

Then how can

20条回答
  •  耶瑟儿~
    2021-01-29 20:36

    clone the repo

    gem install bluecloth
    
    • render the markdown files into html
    • open file on your filesystem in your browser
    • print from your browser

    http://deveiate.org/projects/BlueCloth

    you can find examples of the api here: http://deveiate.org/projects/BlueCloth/browser/spec/bluecloth_spec.rb

提交回复
热议问题