All articles
Markdown & beyond6 min read

Line breaks, paragraphs, and the space between them

Why do wrapping, in-paragraph breaks, new paragraphs, and paragraph spacing behave differently? Start with direct writing in Textend, distinguish structure from layout, and explore Markdown soft and hard breaks only when needed.

Groups of paper strips form a rhythm of close lines and wider spaces.

Decide whether you want to change content or presentation

In Textend, you can write paragraphs, headings, and lists directly without first learning how blank lines are arranged in source. Start with your intention: continue a sentence, begin a new paragraph, or make the page feel less crowded. Those needs have different results.

Wrapping follows the available width. Paragraphs express content structure. Line height and paragraph spacing govern layout. Deliberately empty paragraphs can accept more text. These can all look like extra vertical space, but they respond differently to resizing, export, and another application.

What you wantWhat it involvesWhat to expect
Continue displaying a long sentenceAutomatic wrappingWidth changes rearrange it without adding line endings
Finish one thought and begin anotherParagraph structureDistinct paragraphs; their distance follows the layout
Require a break within one paragraphAn explicit in-paragraph hard breakNeeds an intentional break rather than window wrapping
Make the whole draft less crowdedLine height, type size, writing width, or typographyChange presentation without adding empty content throughout
Keep an empty place for more textAn editable empty paragraphAn editing position, not just paragraph spacing

Wrapping does not insert a line ending

Text reaching the right edge continues on another visual line. Resizing the window or changing type size or writing width can move that wrap point. The same paragraph is being rearranged; displaying an additional line does not insert a Markdown line-ending character.

Ordinary continuous prose does not need manual breaks to match the current window. Let the available width handle long sentences, and start paragraphs when the content calls for them. The text can then reflow for a phone, webpage, or different paper width.

Spacing provides reading room; empty paragraphs provide input positions

Paragraphs need separation so readers can distinguish their structure. Layout can provide that space without creating another blank line for the caret to stop on. More paragraph spacing does not add a paragraph to the document.

Textend distinguishes paragraph spacing from editable empty paragraphs. One supports reading; the other lets an author continue writing in an empty position. Splitting prose creates two paragraphs. Continuing from a paragraph end and deliberately leaving additional empty paragraphs also need to be understood through their visible editing results.

That is why blank source lines and visible empty paragraphs do not correspond one for one. Some whitespace separates structures and should not turn into invisible caret stops. Textend handles that mapping so everyday writing can follow visible paragraphs and input positions without counting line endings.

These are Textend’s editing and presentation rules, not requirements for every Markdown application. Opening a file or switching modes interprets presentation without first normalizing the entire source. Actual edits handle affected areas under the relevant rules and share the edit’s undo unit.

Why an ordinary source line ending may not stay a visible break

A Markdown document from another tool may contain several source lines within one paragraph. In ordinary prose, those lines can remain one paragraph, while blank lines commonly separate paragraphs. Source line arrangement and the lines displayed on a webpage are separate concerns.

CommonMark treats an ordinary in-paragraph line ending, under the relevant conditions, as a soft break. A renderer can output a line ending or a space and may offer an option to display soft breaks as hard breaks. Two lines during editing therefore do not guarantee two fixed lines at the destination. Textend’s export core does not treat every ordinary line ending as a hard break.

You do not need the source below for everyday direct writing. If a line-breaking question arises, expand it: the first group has two source lines within one paragraph, and the second has two ordinary paragraphs. Type size does not determine that distinction.

Optional: source line endings versus separate paragraphs
Two source lines within one paragraph:
State the point clearly,
then add the supporting material.

Two paragraphs:
State the point clearly.

Add the supporting material.

Express an intentional break within the paragraph

When a paragraph needs an intentional line break, use a hard break supported by the destination format. This differs from starting a new paragraph: the content stays within one paragraph, with a break at the specified position. It also differs from wrapping, because the break is required even if there is room left on the line.

The Markdown notation is in the optional section below. CommonMark supports two or more trailing spaces or a backslash before the line ending under the specified conditions. A backslash is easier to see than a count of trailing spaces. This concerns ordinary paragraph content, not a universal rule for code, block endings, or Enter behavior in every control.

The snippet has one backslash at the end of its first line, followed immediately by the second line without a blank line between them. The intended result is two lines within one paragraph: “State the point clearly,” followed by “then add the supporting material.” A backslash at the very end of a paragraph, or inside a displayed code block, does not create a prose break in this way.

In Textend, Enter also has different actions depending on the content, with separate rules for tables and code. A key combination is therefore not a universal hard-break method in every position. What matters is the resulting structure and whether the destination supports it.

Optional: an in-paragraph hard break using one backslash
State the point clearly,\
then add the supporting material.

Distinguish structural changes from style differences

If two sentences appear to run together after export, distinguish wrapping, a source soft break, and an explicit hard break. The first two do not guarantee a fixed visible break. If the text is still in two paragraphs but looks closer together, consider the destination’s line height, paragraph spacing, and layout environment.

Repeated blank source lines between ordinary paragraphs are not a portable instruction for a fixed amount of space. CommonMark does not turn additional blank lines there into an equal number of empty paragraphs. Textend has its own presentation and export handling for editable empty paragraphs, and other tools can display them differently.

Code, lists, and quotes need to be understood through their own structure. Code line endings are part of its content; whitespace in a list can affect item relationships and tight or loose layout. Ordinary-paragraph rules should not be generalized to every block, and nested content needs to retain its relationships.

Establish the structure, then choose delivery layout

For a more comfortable draft, consider type size, line height, writing width, or a suitable typography style. Textend provides editing display choices for these needs. An editable empty paragraph serves a different intention from adding visual space throughout the document.

For delivery, inspect the paragraphs, intentional breaks, and visible spacing in the destination file. Webpages, PDF, and DOCX use different widths and layout rules. Visual line counts in the editing window are not fixed physical page measurements. Keep the Markdown source for later content revisions.

With these distinctions, the choices become clearer: let continuous text wrap, use paragraphs for new thoughts, express intentional breaks in the appropriate format, and use layout for reading density. Textend connects visible editing to document structure so everyday writing need not involve counting blank source lines.