Automattic / simplenote-electron

Simplenote for Web, Windows, and Linux
https://app.simplenote.com
GNU General Public License v2.0
4.84k stars 559 forks source link

Can't use Markdown headers on Mac #591

Closed liberatoaguilar closed 7 years ago

liberatoaguilar commented 7 years ago

What I expected

Use markdown normally.

What happened instead

All markdown features work except headers.

OS version

El Capitan

Screenshot / Video

screen shot 2017-07-19 at 11 14 31 pm

dmsnell commented 7 years ago

Thanks for the report @liberatoaguilar!

Markdown has some funny rules around headers and the standard implementation requires a space after the #s and before the content. Can you try adding a space and seeing if it works?

This is confusing with Markdown because different parsers handle it differently, but we hope to try and implement the spec as much as we can. http://spec.commonmark.org/0.27/#atx-headings

davewhitley commented 7 years ago

Also http://commonmark.org requires a space and its the closest thing we have to a standard format.

liberatoaguilar commented 7 years ago

I added the space and now it works fine! Thank you very much.

On Thu, Jul 20, 2017 at 4:04 AM, Dennis Snell notifications@github.com wrote:

Thanks for the report @liberatoaguilar https://github.com/liberatoaguilar!

Markdown has some funny rules around headers and the standard implementation requires a space after the #s and before the content. Can you try adding a space and seeing if it works?

This is confusing with Markdown because different parsers handle it differently, but we hope to try and implement the spec as much as we can. http://spec.commonmark.org/0.27/#atx-headings

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Automattic/simplenote-electron/issues/591#issuecomment-316658293, or mute the thread https://github.com/notifications/unsubscribe-auth/Ac55o9HJXUiHjYDb5R20dLIERMOwyd-Kks5sPyY_gaJpZM4OdnJv .