Closed hugovk closed 1 year ago
I don't know how to preview this and see it working, so I'm gonna merge and hope for the best. Assuming it works... thanks, Hugo!
We can render the HTML output in the same way PyPI does using the code snippet at https://github.com/pypa/readme_renderer/issues/196#issuecomment-787642266
python render.py README.md -o /tmp/index.html # To another path so cannot use relative links
Creates:
I just published the first version since accepting your PR, and unsurprisingly it works fine. Thanks again!
The README images don't show on https://pypi.org/project/appeal/ because it can't resolve the relative links:
Instead, use GitHub's absolute raw links.
This is what we do for https://github.com/python-pillow/Pillow + https://pypi.org/project/Pillow/