pypa / readme_renderer

Safely render long_description/README files in Warehouse
Apache License 2.0
158 stars 89 forks source link

GFM list: Blankline required between heading and list #79

Closed engnadeau closed 6 years ago

engnadeau commented 6 years ago

Expected

The following list without a blank space between the heading/list is valid GitHub Flavoured Markdown, according to the following parsers:

# Heading
- Foo
- Bar
  - X
  - Y

Heading

Actual

python3 setup.py check -r -s 

warning: Check: :4: (ERROR/3) Unexpected indentation.

warning: Check: Invalid markup which will not be rendered on PyPI.

error: Please correct your package.

Solutions

di commented 6 years ago

Same question here as https://github.com/pypa/readme_renderer/issues/78#issuecomment-378388308.

engnadeau commented 6 years ago

see https://github.com/pypa/readme_renderer/issues/78#issuecomment-378391954

engnadeau commented 6 years ago

Solutions in: