Have the same README both in Markdown and reStructuredText

后端 未结 8 1274
旧时难觅i
旧时难觅i 2020-12-22 16:29

I have a project hosted on GitHub. For this I have written my README using the Markdown syntax in order to have it nicely formatted on GitHub.

As my project is in Py

8条回答
  •  死守一世寂寞
    2020-12-22 16:43

    PyPI now supports Markdown for long descriptions!

    In setup.py, set long_description to a Markdown string, add long_description_content_type="text/markdown" and make sure you're using recent tooling (setuptools 38.6.0+, twine 1.11+).

    See Dustin Ingram's blog post for more details.

提交回复
热议问题