The Paragraph macro wraps content in a <p> tag with optional class and styles defined in your global CSS style sheet, or in the CSS Style sheet macro that you can add to the page. The <p> tag is used to define a paragraph of text.

Instructions

  1. Navigate to the page you want to edit. 

  2. Click Edit.

  3. Click Insert More Content Other Macros.

  4. Select the Paragraph macro from the Macro Browser.

    The Macro Browser with the Paragraph macro available.
  5. Define your Paragraph macro using any of the following parameters:

    ParameterDescriptionTypeDefaultRequired

    ID

    Option to specify a unique ID for this element. If using this parameter to apply styling to the element, do not include the # selector.

    string

    none

    (error)

    Class

    Option to apply a custom CSS class to the element. Enter the CSS class name(s) to apply to the macro (case sensitive); multiple classes can be separated by a space or comma. Do not include the . selector in the class name. Classes must be part of your Global Confluence CSS or defined in a CSS Stylesheet macro that you have added to your page.

    string

    none

    (error)

    Style

    Option to apply an inline style; useful for adding borders or padding, e.g. border: 3px solid-red. This style does not need to be defined in a CSS Stylesheet macro.

    string

    none

    (error)

    Title

    Enter text to display to users as a tooltip.

    string

    none

    (error)

    Text Direction

    Select an option for the text direction:

    single select

    none

    (error)

    Language Code

    Enter a language code if you want to specify that the element content language is different from the default language of your page, e.g. de for German. Browsers will identify that the content is written in German. 

    string

    none

    (error)


    At least one parameter must be specified.

    Although not strictly required to insert the macro on a page, the macro does require one of the parameters above to be specified to function properly.

  6. Click Insert. The macro placeholder displays.

    The placeholder for a Paragraph macro.
  7. Enter the text that you want to wrap within the defined paragraph parameters.

  8. Save the page to view the paragraph rendered with the defined styling.