Quote Macro

Last modified by Thomas Mortagne on 2023/10/16 00:18

cogDisplays inline text with special quote formatting
Developed by

Vincent Massol

Active Installs24
1 Votes
LicenseGNU Lesser General Public License 2.1

Installable with the Extension Manager


Even though XWiki Syntax 2.0+ supports a Quote syntax by default, it can be handy to use this Macro when copy-pasting text (from a mail, from a chat, etc). The main reason is that using the quote wiki syntax forces to use the > character on each line.

Note that this macro currently works well only with inline content being pasted. If some pasted content has meaning over several lines (separated by newlines) then it'll not display correctly (e.g. a table)


... line 1 ...
... line N ...


Example with XWiki Syntax 2.1:

> line 1
> line 2

Same example with this macro:

line 1
line 2



Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager).

You can also use the manual method which involves dropping the JAR file and all its dependencies into the WEB-INF/lib folder and restarting XWiki.


Dependencies for this extension (org.xwiki.contrib:macro-quote 1.0):

Get Connected