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
Try grip.
pip install grip grip markdown.md
Then it is hosted on a local port. You can then print or save to PDF through your native OS print dialog from your favourite browser.
See here.