https://github.com/krypton-byte/github_markdown2image
https://github.com/krypton-byte/github_markdown2image
github library markdown markdown2image module python readme screenshot toimage
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/krypton-byte/github_markdown2image
- Owner: krypton-byte
- Created: 2021-02-21T05:26:30.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-15T02:32:52.000Z (almost 5 years ago)
- Last Synced: 2025-08-11T01:57:22.488Z (6 months ago)
- Topics: github, library, markdown, markdown2image, module, python, readme, screenshot, toimage
- Language: Python
- Homepage:
- Size: 187 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Install
```bash
$ sudo apt install wkhtmltopdf
$ python3 -m pip3 install imgkit bs4 requests
$ python3 -m pip3 install github_markdown2image
```
```python
>>> 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