Skip to content

jerry1100/github-markdown-printer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-markdown-printer test

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.

GitHub Markdown Printer demo image

Advantages over other markdown converters

This is easier and faster than downloading the markdown file and running it through a converter. This also produces better results.

Usage

  1. Go to any page on GitHub where there's a markdown preview
  2. Right-click the page and select "Print GitHub Markdown"
  3. Select your printer or save as PDF and print

GitHub Markdown Printer usage

Troubleshooting

If you're experiencing an issue that isn't listed below, please submit an issue.

Code blocks aren't shaded

Make sure "Background graphics" are enabled in the print preview. To check, click "More settings" in the print preview, then look for "Background graphics".

Background graphics setting

Indentation is weird in code blocks

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.

Jupyter notebooks formatting is off

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.

Mermaid diagrams are cut off

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.

About

Print GitHub Flavored Markdown exactly as it appears on GitHub

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •