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

Handling of Setext heading content is underspecified #461

Closed
mgeier opened this issue Apr 22, 2017 · 0 comments
Closed

Handling of Setext heading content is underspecified #461

mgeier opened this issue Apr 22, 2017 · 0 comments
Milestone

Comments

@mgeier
Copy link
Contributor

mgeier commented Apr 22, 2017

http://spec.commonmark.org/0.27/#setext-headings:

The contents of the heading are the result of parsing the preceding lines of text as CommonMark inline content.

http://spec.commonmark.org/0.27/#paragraphs:

The contents of the paragraph are the result of parsing the paragraph’s raw content as inlines. The paragraph’s raw content is formed by concatenating the lines and removing initial and final whitespace.

I assume that the rules should be the same for both cases, and http://spec.commonmark.org/0.27/#example-53 hints into this direction, but the information about removing whitespace is still missing in the description of Setext headings.

Probably there could be a formal definition of "inline content" which both blocks (and probably others) could use?

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