/
Paragraphs

Paragraphs

AsciiDoc paragraphs are translated to Confluence paragraphs, supporting all typical styles, for example:

This is a paragraph with *bold* text.

This is a paragraph with bold text.

This is a paragraph with _italic_ text.

This is a paragraph with italic text.

This is a paragraph with `monospaced` text.

This is a paragraph with monospaced text.

This is a paragraph with `*_monospaced bold italic_*` text.

This is a paragraph with monospaced bold italic text.

This is a paragraph with ^super^script and ~sub~script text.

This is a paragraph with superscript and subscript text.

.This the title of a paragraph
The title of a paragraph will rendered using a custom CSS class `cp-paragraph-title`
This the title of a paragraph

The title of a paragraph will rendered using a custom CSS class cp-paragraph-title

Text Alignment

Text alignment (right, left, center, or justify) in paragraphs is supported via the .text-<alignment> role:

[.text-right]
This paragraph is right aligned.

This paragraph is right aligned.

[.text-left]
This paragraph is left aligned.

This paragraph is left aligned.

[.text-center]
This paragraph is center aligned.

This paragraph is center aligned.

[.text-justify]
This paragraph with a very, very, very, very, very, very, very, very, very, very, very, very, very, really very long text is justify aligned.

This paragraph with a very, very, very, very, very, very, very, very, very, very, very, very, very, really very long text is justify aligned.

The name of the role follows the pattern text-<alignment>, where <alignment> is one of left, center, right, or justify (e.g., text-center).

Example Assign text-center to a paragraph
[.text-center]
This text is centered, so it must be important.

This text is centered, so it must be important.