DEV Community

hong
hong

Posted on

Firefox vs Chrome, MD two space vs GFM line breaks

Hi guys,

I submitted my first post yesterday. My markdown that I pasted in had line breaks because it makes it easier to adhere to the 80 char rule while looking nice in editor(vim). I use traditional 2 space rule for line breaks.

I submitted my post and it looked fine on Chrome and ugly in Firefox. The content had extra line breaks everywhere in FF. It looks like Firefox supports GFM style linebreaks while Chrome does not? Is that for real or am I missing something?

Thanks,

Top comments (0)