Skip to end of metadata
Go to start of metadata

Description

The Pre macro wraps content in a pre tag with optional class and styles. 

The pre tag is used to define preformatted text. This allows for the preservation of spaces and line breaks. 

Usage

Click Insert > Other Macros.

 

Select the Pre macro from the provided list.

 

Complete the desired fields.

ParameterDescriptionType

Default

Required?
ID

Specify a unique id for the element.

string

none

(error)

ClassThe class to associate with the div. Multiple classes can be specified by separating them with spaces.stringnone

(error)

StyleAn optional inline style sheet to apply to an individual div tag.stringnone

(error)

TitleText to display in a tooltip.stringnone

(error)

Text DirectionSets the text direction.single selectnone

(error)

Language CodeSets the language code.stringnone

(error)

At least one parameter must be specified

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

 

The macro will then appear on the page.

Examples:

Will result in:

 

Lorem ipsum

dolor sit amet, consectetuer adipiscing elit.

Aenean commodo ligula


eget dolor.

 


See Also:

 

Top of page

  • No labels