Print GitHub Flavored Markdown exactly as it appears on GitHub, with just two clicks.
Get it from the Chrome Web Store or the Edge Web Store.
This is easier and faster than downloading the markdown file and running it through a converter. This also produces better results.
- Go to any page on GitHub where there's a markdown preview
- Right-click the page and select "Print GitHub Markdown"
- Select your printer or save as PDF and print
If you're experiencing an issue that isn't listed below, please submit an issue.
Make sure "Background graphics" are enabled in the print preview. To check, click "More settings" in the print preview, then look for "Background graphics".
Long pieces of code that do not fit within the page will be wrapped to the next line. This wrapping may mess up the indentation.
Keep trying until the formatting looks correct. Notebooks are rendered using iframes, which we don't have much control over, so the formatting can often be wrong. For whatever reason, it sometimes gets it right after several attempts.
Keep trying until they're not cut off. Like notebooks, mermaid diagrams are rendered using iframes, which we don't have much control over. Despite many hours of trying, I haven't been able to get them to render correctly on the first try.