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

Is automatic line breaks a feature of GFM? #198

Open
borekb opened this issue Jun 30, 2020 · 1 comment
Open

Is automatic line breaks a feature of GFM? #198

borekb opened this issue Jun 30, 2020 · 1 comment

Comments

@borekb
Copy link

borekb commented Jun 30, 2020

According to GFM spec on hard line breaks, this Markdown:

one
two

should render as:

one two

This happens when GitHub previews Markdown files like README.md and similar but does not happen here in issues, for example, this is how it renders:

one
two

Is there an official spec on how GitHub treats user text written as comments to issues and pull requests? Is it fair to say that GH issues and comments are not GFM since they behave differently from the spec?

@Artoria2e5
Copy link

Artoria2e5 commented Apr 26, 2021

I swear it used to be documented as a part of GFM pre-CommonMark, but I really can't find such a mention now. Heck, I don't even know whether this library is the exact one they use in the backend...

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

No branches or pull requests

2 participants