Skip to content

Instantly share code, notes, and snippets.

@beevelop
Created April 11, 2017 10:31
Show Gist options
  • Select an option

  • Save beevelop/a0f2c76e79610dca01550c9a93f83876 to your computer and use it in GitHub Desktop.

Select an option

Save beevelop/a0f2c76e79610dca01550c9a93f83876 to your computer and use it in GitHub Desktop.
Print GitHub markdown files
document.querySelector('#readme').setAttribute('style', 'position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 100; background-color: white')
document.querySelector('body').appendChild(document.querySelector('#readme'))
window.print()
@skiphansen
Copy link

@i365 Sounded great, but ... a lot of .md files on github use embedded images and that tool just prints the raw HTML code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment