Excerpt Macro

Last modified by Jim Bach on 2026/07/01 12:24

Description

The Excerpt macro is a bridge between Confluence and XWiki. It allows the user to mark part of the page's content for use by other macros.

Parameters

ParameterDescriptionDefault
atlassian-macro-output-typeThe ouput type. It can be either BLOCK or INLINE.INLINE
hiddenIf true, the content of the macro will be hidden.false

Example of usage

Example of excerpt with HTML :

{{excerpt}}
|=Title1|=Title2|=Title3
|Text1|Text2|Text3
{{/excerpt}}

The result is the following :

Failed to execute the [include] macro. Cause: [Current user [null] doesn't have view rights on document [xwiki:Licenses.Code.VelocityMacros]]. Click on this message for details.

Title1Title2Title3
Text1Text2Text3

Example of hidden excerpt :

{{excerpt hidden="true"}}
My hidden content.
{{/excerpt}}

The result is the following :

Failed to execute the [include] macro. Cause: [Current user [null] doesn't have view rights on document [xwiki:Licenses.Code.VelocityMacros]]. Click on this message for details.