Skip to content

GFM inconsistency for list after paragraph without blank line #359

@MattiSG

Description

@MattiSG

Copying github/markup#900 in here:


The following renders as a list in previews of markdown (.md) files, but renders as a single paragraph on Github pages:

This is a list:
- or is it

Compare https://github.com/Morendil/md-inconsistency/blob/gh-pages/index.md and http://morendil.github.io/md-inconsistency/

This results in errors and frustration when we encourage our users to change or submit content via Github for our site hosted on Github Pages and rendered with Jekyll.

(via @Morendil)


Opening it here as I sent github/markup#900 to GitHub support, here was their answer through @danayel:

Jekyll is an Open Source project and thus uses a similarly Open Source markdown engine - kramdown.

GitHub itself uses it's own markdown engine, which hasn't been released publically yet.

Getting consistency across the two is something we are interested in and investigating, but for now the best option is to post an issue on the kramdown repository[1] and see if they are able to sort this out on their end.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions