projectdoc Toolbox

Renders term and definition information as a definition list. Currently Conflucene does not easily support authors to write definition lists. But definition lists allow to render this form of information efficiently.

Audience
Categories
Tags
Type

Renders a table as a definition list.

Definition lists allow compact representation of term and data information.

Add a table to the body of the macro. Mark the first column as header, all other columns as data.

Here is a simple example:

The first column contains the definition terms, the second the data.

This is how it is rendered:

Properties

Definition List CSS Class

The class to add to the definition list. This is usually the only class you want to provide to select the formatting style

The following styles are supported:

simpleindent (default)

meet

 

simple

 

tabular

 

todo

This style is similar to tabular, but reserves less space to the second column.

 

Available since version 1.8.0.

margin

 

You may define your own formatting.

Definition Term CSS Class

The class to add to the definition terms.

Definition Data CSS Class

The class to add to the definition datas.

Details

Provide your own Formatting

Add this CSS snippet to your configuration and adjust it to your needs.

 

dl.mystyle {
}
dl.mystyle > dt {
}
dl.mystyle > dd {
}

Set the definition list style to mystyle.

Where can I change the Stylesheet?

 

How you access the stylesheet to add your CSS depends on the theme you are using. You may change the styles for a space or for all spaces with the global stylesheet.

Space Stylesheet

In a standard installation you'll find the configuration for your space under the "Stylesheet" tab of the Space Tools.

Global Stylesheet

The global style sheet is accessible for admins on the Confluence Admin page. On the left side, under "LOOK AND FEEL", click "Stylesheet".

Related macros

Compact Definition List Macro
Renders wiki syntax as a definition list. Does allow HTML tags and therefore is vulnerable to XSS attacks.
Compact No-HTML Definition List Macro
Renders wiki syntax as a definition list. Does not allow any HTML tags.