How to print from GitHub

前端 未结 20 1390
伪装坚强ぢ
伪装坚强ぢ 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:24

    Super easy way that require nothing more than Chrome:

    You can spoof the user-agent, telling you are a mobile device, to get a nice printable version.

    The way I do it - there are plenty of ways - I use Chrome the Chrome devTools "Emulation" feature to emulate an Android device, e.g. a Samsung Note 3, then in the screen sub-section I remove "Emulate screen", to get full resolution, then I print.

提交回复
热议问题