Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GFM inconsistency for list after paragraph without blank line #359

Closed
MattiSG opened this issue Jul 29, 2016 · 2 comments
Closed

GFM inconsistency for list after paragraph without blank line #359

MattiSG opened this issue Jul 29, 2016 · 2 comments

Comments

@MattiSG
Copy link

MattiSG commented Jul 29, 2016

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.

@gettalong
Copy link
Owner

There is no spec for GFM and therefore hard to implement it right. Pull requests for adding better compatibility to GFM are welcome.

@gettalong gettalong changed the title Inconsistency with GitHub's Markdown preview GFM inconsistency for list after paragraph without blank line Jul 29, 2016
@gettalong
Copy link
Owner

This issue is solved by the pull request #358.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants