readme_renderer is a library for rendering "readme" descriptions for Warehouse
Project description
Readme Renderer is a library that will safely render arbitrary README files into HTML. It is designed to be used in Warehouse to render the long_description for packages. It can handle Markdown, reStructuredText (.rst), and plain text.
Check Description Locally
reStructuredText
To locally check whether your reStructuredText long descriptions will render on PyPI, simply install the readme_renderer library using:
$ pip install readme_renderer
$ python setup.py check -r -s
running check
If there’s a problem rendering your long_description, the check will tell you. If your long_description is fine, you’ll get no output.
Markdown
Checking your Markdown long descriptions is unecessary, because unlike rST, where a properly rendered description is all-or-nothing, PyPI will still render your Markdown description as Markdown if it has some invalid or incorrect syntax.
Code of Conduct
Everyone interacting in the readme_renderer project’s codebases, issue trackers, chat rooms, and mailing lists is expected to follow the PyPA Code of Conduct.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for readme_renderer-19.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89f8979dcfeadf707cc31322822ef48315253164bfb227adfad8186b201a7103 |
|
MD5 | 852358de115cfd7f303f8fac1abc0227 |
|
BLAKE2b-256 | e8fe80af919ab2c07fc503e0843687433440f1067871feab9e82b5a8775eb04a |