- Copy contents of raw .md file, having embedded links to images
- Modify image links in file with following (in Sublime Text 2):
- Find Regex: https://github.com/(.*)/blob/(.*)
- Replace: https://raw.githubusercontent.com/$1/$2
- Paste and 'Convert to HTML page'
- Use browser print to save as PDF
This works for printing Github Markdown with images !
Steps:
1. Download raw .md file, having embedded links to images and copy its contents
2. Modify image links in file with following:
Find Regex: https://github.com/(.*)/blob/(.*)
Replace: https://raw.githubusercontent.com/$1/$2
3. Paste at 'markdownprint' site
4. Generate HTML page
5. Use browser print to save as PDF