DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:blockquote

Blockquote Plugin

Compatible with DokuWiki

  • 2013-12-08 "Binky" unknown
  • 2013-05-10 "Weatherwax" yes
  • 2012-10-13 "Adora Belle" yes
  • 2012-01-25 "Angua" unknown

plugin Write quotations in a semantically correct way

Last updated on
2013-05-05
Provides
Syntax, Action
Repository
Source

Similar to formatplus, styler

Tagged with quotes

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.

See old plugin page for older information.

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.

plugin/blockquote.txt · Last modified: 2013/06/26 14:18 by Klap-in