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

Correct ATX headings (add space after '#") #103

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

philipbelesky
Copy link

Hey, big fan of the Primer!

According to markdown specs ATX style '#' headings must be followed up a space; otherwise the #'s are escaped in many common renderers. For example, when viewed on Github many of the heading in this book are not displayed correctly.

I assume the gitbook renderer is lax about this, but it would be nice to fix for the occasions in which people are viewing the raw markdown either through a preview or when editing it in a text editor that has syntax highlighting. Currently the .md files are split between using a space correctly and omitting a space, so doing an all-at-once replace might also help to ensure consistency in future.

According to markdown specs ATX style '#' headings must be followed up a space; otherwise the #'s are escaped in many common renderers
@philipbelesky philipbelesky changed the title Correct ATX headings Correct ATX headings (add space after '#") May 1, 2018
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

Successfully merging this pull request may close these issues.

1 participant