You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is discussed and it is mentioned that the most natural / powerful option is to allow multiline heading. But this input doesn't currently output multi-line headings **by default ** It does allow multi-line headings if you have hard line break settings enabled and there is a hard break between Foo and bar.
Technically it's correct as worded, but it's a little misleading as when you click the "Try It" button, you do not get multi-line headings
Source: https://spec.commonmark.org/0.29/
"Compatibility note: Most existing Markdown implementations do not allow the text of setext headings to span multiple lines. But there is no consensus about how to interpret
Foo
bar
baz
One can find four different interpretations:
paragraph “Foo”, heading “bar”, paragraph “baz”
paragraph “Foo bar”, thematic break, paragraph “baz”
paragraph “Foo bar — baz”
heading “Foo bar”, paragraph “baz”
We find interpretation 4 most natural, and interpretation 4 increases the expressive power of CommonMark, by allowing multiline headings.
The text was updated successfully, but these errors were encountered:
This is not supposed to yield a multiline heading, because of the blank line.
And it doesn't. All is well.
Example 65 is the one illustrating a multiline heading.
Try example #73 and remove the extra line between Foo and bar and Foo will not be included in the heading, only bar....
However, as I try it again while typing this response... it works as expected. I could swear I hit "Try It" on #73 and hit delete once after the Foo line and Foo was not in the header but now I cannot replicate it. Sorry!
Foo
bar
baz
The problem is discussed and it is mentioned that the most natural / powerful option is to allow multiline heading. But this input doesn't currently output multi-line headings **by default ** It does allow multi-line headings if you have hard line break settings enabled and there is a hard break between Foo and bar.
Technically it's correct as worded, but it's a little misleading as when you click the "Try It" button, you do not get multi-line headings
Source: https://spec.commonmark.org/0.29/
"Compatibility note: Most existing Markdown implementations do not allow the text of setext headings to span multiple lines. But there is no consensus about how to interpret
Foo
bar
baz
One can find four different interpretations:
paragraph “Foo”, heading “bar”, paragraph “baz”
paragraph “Foo bar”, thematic break, paragraph “baz”
paragraph “Foo bar — baz”
heading “Foo bar”, paragraph “baz”
We find interpretation 4 most natural, and interpretation 4 increases the expressive power of CommonMark, by allowing multiline headings.
The text was updated successfully, but these errors were encountered: