Skip to content

krypton-byte/github_markdown2image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

$ sudo apt install wkhtmltopdf
$ python3 -m pip3 install imgkit bs4 requests
$ python3 -m pip3 install github_markdown2image
>>> from github_markdown2image import readme
>>> readme("https://github.com/krypton-byte/krypton-byte")

OR

>>> readme("https://github.com/krypton-byte/krypton-byte", "save.png")

Preview

>>> from PIL import Image
>>> out=readme("https://github.com/krypton-byte/krypton-byte")
>>> Image.open(out).show()

Preview