cogDisplays inline text with special quote formatting
TypeJAR
CategoryMacro
Developed by

Vincent Massol

Active Installs50
Rating
1 Votes
LicenseGNU Lesser General Public License 2.1

Installable with the Extension Manager

Description

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)

Usage

{{quote}}
... line 1 ...
...
... line N ...
{{/quote}}

Examples

Example with XWiki Syntax 2.1:

> line 1
> line 2

Same example with this macro:

{{quote}}
line 1
line 2
{{/quote}}

Gives:

example1.png

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

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

Tags:
    

Get Connected