Table of Contents
BlockQuote Plugin
Compatible with DokuWiki
- 2024-02-06 "Kaos" yes
- 2023-04-04 "Jack Jackrum" yes
- 2022-07-31 "Igor" yes
- 2020-07-29 "Hogfather" yes
Similar to combo, formatplus, formatplus2, styler
With the blockquote plugin you can write semantically correct quotations (by using the HTML tags blockquote
and q
). In contrast to the default wiki syntax for quotes, the content of the quote can contain any wiki syntax. Thus, also nested quotes are possible.
Configuration
You can remove the plugin's specific styling by de-activating the addStyling
config option.
Syntax
The plugin provides three different tags to write quotations and corresponding information:
<blockquote>
marks up block quotations (i.e. quotes including at least one paragraph or more), an alternative syntax is<QUOTE>
<q>
marks up inline quotations (i.e. inside a paragraph or a list etc), an alternative syntax is<quote>
<cite>
marks up where a quote is cited from
Please note: An old version of the plugin used to allow the citation as a parameter of the blockquote tag (e.g.
<blockquote John Smith>
). That functionality has been removed from the plugin. Instead you can use attributes from the Wrap plugin in all of those tags, if that plugin is installed. If you'd like to keep the functionality, please move the words into a <cite>
tag within the blockquote
tag as in the first example below.
Examples
<blockquote> There is nothing either good or bad, but thinking makes it so. <cite>William Shakespeare, "Hamlet", Act 2 scene 2</cite> </blockquote>
He said <q>That's life!</q> and moved on.
Examples using attributes from the Wrap plugin:
<cite hi>Albert Einstein</cite> once said: <blockquote column 30% :de> "Autoritätsdusel ist der größte Feind der Wahrheit." </blockquote>
She said <q :fr>‹C'est la vie!›</q> and smiled.