Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 876 Bytes

Soft line breaks.md

File metadata and controls

11 lines (8 loc) · 876 Bytes

{{($page.frontmatter.start = 669) ? null : null}}

Soft line breaks

A regular line break (not in a code span or HTML tag) that is not preceded by two or more spaces or a backslash is parsed as a softbreak. (A softbreak may be rendered in HTML either as a line ending or as a space. The result will be the same in browsers. In the examples here, a line ending will be used.)

Spaces at the end of the line and beginning of the next line are removed:

A conforming parser may render a soft line break in HTML either as a line break or as a space.
A renderer may also provide an option to render soft line breaks as hard line breaks.