You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This 100% meets the GFM spec, meaning that what we render should be nearly identical. (The only difference is that Github's Markdown API has some extra post-processing in their HTML pipeline, to do things like render emoji)
Currently, the rendering of readmes has 2 different paths:
cebe/markdown
for other packages (as we don't have pre-rendered readme for them)This suggestion is about replacing
cebe/markdown
for the second case.Nowadays, most non-github repositories on packagist are probably Gitlab ones. And Gitlab's markdown is based on CommonMark (with a few extensions of their similar to the Github ones, see https://docs.gitlab.com/ee/user/markdown.html). And Bitbucket also uses CommonMark (https://confluence.atlassian.com/bitbucketserver/markdown-syntax-guide-776639995.html).
So using a CommonMark parser would probably be better for compatibility of the rendering. But
cebe/markdown
is not such a parser.The text was updated successfully, but these errors were encountered: