如何从GitHub打印 [英] How to print from GitHub

查看:409
本文介绍了如何从GitHub打印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果要从屏幕上显示的GitHub打印markdown文件,例如: https://github.com/RestKit/RestKit/blob/master/Docs/Object% 20Mapping.md

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

那我该怎么做呢?我需要在生成的github html页面(我保存)中更改什么代码,以使打印输出具有外观&的外观.降价的感觉?

Then how can I accomplish that? What code do I need to change in the resulting github html page (that I save) such that the printout will honor the look & feel of the markdown?

到目前为止,我唯一的线索就是这个: https://makandracards.com/makandra/4947-how-to-print-github-维基页面 但这更多是一种实用(非编程)的解决方法,该方法实际上不起作用,因为所使用的markdown解释器不如在GitHub网站上运行的markdown解释器宽容,因此会失败.

So far the only clue I have is this one: https://makandracards.com/makandra/4947-how-to-print-github-wiki-pages But it is more of a utilitarian (non-programmatic) workaround which doesn't really work because the markdown interpreter in use isn't as forgiving as the one running on the GitHub websites so it fumbles.

推荐答案

使用 GitPrint 是直接打印文件的好方法来自Github.

Using GitPrint is great way to directly print files from Github.

这篇关于如何从GitHub打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆