Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Renderer output is different to actual Github output #342

Open
axic opened this issue Nov 25, 2015 · 4 comments
Open

Renderer output is different to actual Github output #342

axic opened this issue Nov 25, 2015 · 4 comments

Comments

@axic
Copy link

axic commented Nov 25, 2015

The below sample markdown renders the numbers without restarting in Atom, while on Github (here) the third point will restart from 1. Perhaps it is an edge case I shouldn't rely on. Not sure which renderer is correct, but I like the output from Atom :)

  1. test
  2. test
hello
  1. test

Moved from atom/atom#9818. Sorry if this issue is already reported.

@lee-dohm
Copy link
Contributor

Until the GitHub website and Atom use the exact same Markdown renderer (or both switch to CommonMark-compliant renderers), I don't think this is going to be fixed. There simply is too much ambiguity in Markdown for different parsers to match exactly in all cases. See CommonMark.

@axic
Copy link
Author

axic commented Nov 25, 2015

I hoped it would be the same renderer given Atom comes from Github. Good to know, thanks.

@axic
Copy link
Author

axic commented Nov 25, 2015

As a note, the above renders on try.commonmark.org as in Atom. Hopefully that means Github will need to catch up at some point.

@mbbroberg
Copy link

I was working with GitHub support on a markdown issue and found out that they moved to CommonMark:

We recently updated our markdown renderer to CommonMark:

https://github.com/blog/2333-a-formal-spec-for-github-flavored-markdown

I think that means this issue could move forward.

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

No branches or pull requests

3 participants