Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen gezeigt.

Link zu der Vergleichsansicht

wiki:plugin_styler [2013/07/11 10:00] (aktuell)
Zeile 1: Zeile 1:
 +====== Plugin: Styler ======
  
 +===== Beschreibung =====
 +Das Plugin Styler dient zur Hervorhebung von Textabschnitten
 +
 +===== Syntax =====
 +
 +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.
 +
 +===== Beispiele =====
 +
 +
 +**Beispiel 1:** Zitat
 +
 +<​code>​
 +<​quote>​Hunde die bellen, beißen nicht</​quote>​
 +</​code>​
 +
 +<​quote>​Hunde die bellen, beißen nicht</​quote>​
 +
 +\\
 +
 +**Beispiel 2:** Epigraph
 +<​code>​
 +<​epigraph>​
 +"​Cannibals prefer those who have no spines."​ \\
 +<​tab>​[[http://​www.google.com/​search?​hl=en&​q=Stanislaw+Lem|Stanislaw Lem]]
 +</​epigraph>​
 +</​code>​
 +
 +<​epigraph>​
 +"​Cannibals prefer those who have no spines."​ \\
 +<​tab>​[[http://​www.google.com/​search?​hl=en&​q=Stanislaw+Lem|Stanislaw Lem]]
 +</​epigraph>​
 +
 +**Beispiel 3a:** Generic Style
 +
 +<style float-right box background>​
 +To place on the right the floating block with a background and border.
 +</​style>​
 +<​code>​
 +<style float-right box background>​
 +To place on the right the floating block with a background and border.
 +</​style>​
 +</​code>​
 +
 +**Beispiel 3b:** Generic Style
 +
 +<style center box>To place the text on the center</​style>​
 +
 +**Beispiel 3c:** Generic Style
 +
 +<style float-left background>​{{wiki:​dokuwiki-128.png}}DokuWiki is the best. It's smooth. It's elegant. It's lightweight.</​style>​