DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:blockquote

This is an old revision of the document!


BlockQuote Plugin

Compatible with DokuWiki

2007-06-26b, rc2008-03-31, "Adora Belle", "Weatherwax","Binky","Ponder Stibbons", "Hrun", "Detritus", "Greebo"

plugin Write quotations in a semantically correct way

Last updated on
2017-08-25
Provides
Syntax, Action
Repository
Source
Conflicts with
combo

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Similar to combo, formatplus, formatplus2, 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.

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.1524843685.txt.gz · Last modified: 2018-04-27 17:41 by LarsDW223

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki