Page structure

Note

For information on headings and how to use them in the new editor, see Formatting text.

Clusters and headings

Add headings to divide a page into clusters. To format the heading, insert one to six # symbols and a space before the heading text. The heading level changes based on how many # symbols you type.

You can use a different markup style for the first- and second-level headings:

  • For the first-level heading, insert any number of = symbols in the line following the heading.

  • For the second-level heading, insert any number of hyphens - in the line following the heading.

Markup Result
# First-level header
First-level header
======
## Second-level header
Second-level header
--------------
### Third-level header
#### Fourth-level header
##### Fifth-level header
###### Sixth-level header
  1. Hover over the cluster title and click § that appears to the right of the title.

  2. Copy the cluster address from the browser's address bar.

For more information, see Bookmarks on pages.

Paragraphs

To start a new paragraph, insert an empty line after the previous one:

First line of the paragraph.
Second line of the paragraph.

New paragraph.
See the result

Note

To add multiple empty lines between text blocks, use a \ backslash at the beginning of each empty line.

Margins

  • Indents created with spaces at the beginning of the line are used for formatting lists of the second and third levels.

  • If you add spaces to the beginning of a paragraph, they will be ignored. The paragraph will be displayed without indentation.

  • To indent a paragraph, insert a few non-breaking spaces using the code  .

Markup Result

Horizontal line

  • To insert a horizontal line between parts of the text, insert three or more hyphens -, asterisks*, underscores _ in a row on an empty line.

  • If you use hyphens, add an empty line before the line. Otherwise the previous line will turn into a heading.

Markup Result
---
****
___

Collapsed text

Note

For information on how to work with collapsible content in the new editor, see Formatting text.

To make part of the page's text collapsible:

  1. In the line before the text, insert the <{ symbols and the cut title.

  2. From a new line, enter the text that will be hidden under the cut title.

  3. After the text, insert the }> symbols.

Markup Result
<{ Read the entire text
You can see this text
by clicking _Read the entire text_.
}>