DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:blockquote

BlockQuote Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" unknown
  • 2023-04-04 "Jack Jackrum" yes
  • 2022-07-31 "Igor" yes
  • 2020-07-29 "Hogfather" yes

plugin Write quotations in a semantically correct way

Last updated on
2020-09-27
Provides
Syntax, Action
Repository
Source
Conflicts with
combo

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.

'blockquote' Example

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.

Examples using attributes from the Wrap plugin

plugin/blockquote.txt · Last modified: 2023-08-02 15:38 by 2001:4dd0:4ddc:0:851:1db6:c235:28d

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