Child pages
  • Working with Text Breaks

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
h4. Paragraph Break

On a Confluence page, a continuous line of text with two carriage returns at its end forms a paragraph. This is equivalent to a continuous line of text followed by a blank line.

When rendered into HTML, the result is a line of text wrapped in a set of {{<p></p>}} tags.

h4. Line Break

Confluence provides two options for forcing a line break within a paragraph of text:
* Implicitly, by entering a single carriage return at its end.
* Explicitly, by entering two consecutive backslashes: {nomarkup}(\\){nomarkup}.

When rendered into HTML, the result is a paragraph of text split into separate lines by {{<br>}} tags, wherever a forced line break appears.

(i) For most purposes, explicit line breaks are not required because a single carriage return is enough. 

The examples below show how to use explicit line breaks.

|| What you need to type || What you will get ||
| here is some text
{nomarkup} \\
{nomarkup} \\
{nomarkup}divided \\
{nomarkup} \\
{nomarkup}using line \\ \\
{nomarkup} \\
{nomarkup}breaks
{nomarkup} | here is some text \\
divided \\
using line \\ \\
breaks |
| This is a short list:
\* Point 1
Text to go with point 1
\* Point 2{nomarkup} \\ \\{nomarkup}
Text to go with point 2 with a break | This is a short list:
* Point 1
Text to go with point 1
* Point 2 \\ \\
Text to go with point 2 with a break |

If you wish to use multiple consecutive line breaks, each should be separated by a space character. For example, use {{{nomarkup}\\ \\{nomarkup}}} for two consecutive line breaks.


h4. Horizontal Rule

Use four dashes (----) to create a horizontal rule.

(i) Make sure that the dashes are on a separate line from the rest of the text.

|| What you need to type || What you will get ||
| here is some text \\
{nomarkup}----
{nomarkup} \\
divided by a horizontal rule | here is some text
----
divided by a horizontal rule |

h5. RELATED TOPICS

[Working with Lists]
[Confluence Notation Guide Overview]

Take me back to [Wikis Help Guide]