Benutzer-Werkzeuge

Webseiten-Werkzeuge


wiki:syntax

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Letzte ÜberarbeitungBeide Seiten der Revision
wiki:syntax [2010/03/05 11:02] – + Tablewidth blacknightwiki:syntax [2010/03/05 11:14] – + color <fc> blacknight
Zeile 29: Zeile 29:
  
 You should use forced newlines only if really needed. You should use forced newlines only if really needed.
 +
 +
 +  You can color something with <fc color>something</fc>
 +
 + //color// can be any of:
 +
 +    - A three or six hexadecimal color value [ e.g. //#E8E// or //#7fffd4// ]
 +    - One of the standard color names [ e.g. //white//, //black//, //aqua// ]
 +    - An decimal or percentage RGB color [ e.g. //rgb(55%, 35%, 25%)//, //rgb(255, 0, 255)// ]
 +
 +  * __Note 1__: If //color// is omitted, a default of yellow (//#FF0//) will be used.
 +  * __Note 2__: This follows the W3C CSS standard for colors.  See: [[http://www.w3.org/TR/CSS21/syndata.html#color-units|the CSS2.1 spec]] for more detail.
 +
 +<fc cyan>named cyan highlight</fc>
 + \\
 +<fc>default highlight with **some bold** text</fc>
 + \\
 +<fc #e0e>3-hex magenta highlight</fc>
 + \\
 +<fc cyan>cyan with <fc pink>pink in the middle</fc> of the highlight</fc> --- doesn't work :-(
 + \\
 + \\
 +you <fc cyan>need to </fc><fc pink>do it</fc><fc cyan> this</fc> way
 +<code>
 +<fc cyan>named cyan highlight</fc>
 +<fc>default highlight with **some bold** text</fc>
 +<fc #e0e>3-hex magenta highlight</fc>
 +<fc cyan>cyan with <fc pink>pink in the middle</fc> of the highlight</fc> --- doesn't work :-(
 +you <fc cyan>need to </fc><fc pink>do it</fc><fc cyan> this</fc> way
 +</code>
  
 ===== Links ===== ===== Links =====
wiki/syntax.txt · Zuletzt geändert: 2023/01/30 13:19 von 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki