Styler Plugin

Informazioni generali

This plugin provide additional formatting of your texts:

  • <quote> - the expanded quotations;
  • <epigraph> - epigraps;
  • <verse> - formatting of verses;
  • <style> - generic style blocks.

As you can specify attributes for each formatted block:

  • left - text align to left;
  • right - text align to right;
  • center - center text;
  • justify - justify text;
  • float-left - To create the floating block to the left of the text;
  • float-right - To create the floating block to the right of the text;
  • box - To draw a framework around of the block;
  • background - To fill in a background with solid color.


Sito: http://iar.spb.ru/en/projects/dokuwiki/styler/start?redirect=1

Sintassi

<quote> the expanded quotations <quote>

<epigraph> epigraps <epigraph>

<verse> formatting of verses <verse>

<style left / right / center / justify / Ecc... > generic style blocks <style>

Esempi

Insert epigraph

<epigraph>
"Cannibals prefer those who have no spines."

[[http://www.google.com/search?hl=en&q=Stanislaw+Lem|Stanislaw Lem]]
</epigraph>

“Cannibals prefer those who have no spines.”

Stanislaw Lem

Verse formatting

<verse box>
//Opening:// Dm - Am - Dm - C

Dm
A vacation in the foreign land

Uncle Sam does the best he can
              Gm
You're in the army now
                     Dm
Oh, oh you're in the army - now...

...

    //Status Quo - In The Army Now//
</verse>
//Opening:// <span>Dm</span> - <span>Am</span> - <span>Dm</span> - <span>C</span>

<span>Dm</span>
<span>A</span> vacation in the foreign land

Uncle Sam does the best he can
              <span>Gm</span>
You're in the army now
                     <span>Dm</span>
Oh, oh you're in the army - now...

...

    //Status Quo - In The Army Now//

Copying from http://home.online.no/~prannug/quo/itan.html

Additional quotation

<quote>
First line.

With additional quotation you can:
  * Use lists;
  * Use **formattings**;
  * Use pictures {{http://iar.spb.ru/lib/images/buttons/debian.png}};
  * And many other things.

Last line.
</quote>

First line.

With additional quotation you can:

  • Use lists;
  • Use formattings;
  • Use pictures ;
  • And many other things.

Last line.

Generic styles

To place on the right the floating block with a background and border.

<style float-right box background>
To place on the right the floating block with a background and border.
</style>
<style center>To place the text on the center</style>

To place the text on the center

DokuWiki is the best

<style float-left>{{wiki:dokuwiki-128.png}}

DokuWiki is the best</style>

Important: you can specify attributes for any block, but for the some blocks they will have not enough sense.

dokuwiki/plugins/styler.txt · Ultima modifica: 2015/06/08 20:15 da 127.0.0.1
Torna su
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0