User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:wiki:syntax [2019/08/13 10:28] cbuehleren:wiki:syntax [2023/04/25 10:59] (current) – external edit 127.0.0.1
Line 525: Line 525:
 ~~INFO:syntaxplugins~~ ~~INFO:syntaxplugins~~
  
-====== color Plugin ======+====== Color Plugin ======
  
 Place this code sample in your playground: Place this code sample in your playground:
Line 551: Line 551:
 Beware that not all color specifications work on all browsers. Beware that not all color specifications work on all browsers.
 Check [[https://caniuse.com/|Can I Use]] if in doubt. Check [[https://caniuse.com/|Can I Use]] if in doubt.
 +
 +====== Cell Background Plugin ======
 +
 +===== Syntax and Usage =====
 +
 +A background color is introduced by ''@'' and ended by '':''.\\ 
 +You can use all names and color codes from HTML.\\ 
 +If you don't specify a color, yellow is used.\\ 
 +See examples below:
 +
 +===== Examples =====
 +
 +This code :
 +<code>
 +^  Header 1          Header 2  ^  Header 3        ^
 +|  @lightgreen:**Span**         ||                  |
 +|  @#6495ed:Ligne 1 |  Oui        Oui, à valider  |
 +|  Ligne 2          |  Oui        @orange: Oui    |
 +|  @:Ligne 3        |  Oui       | @red:Non         |
 +</code>
 +looks like : \\ 
 +^  Header 1          Header 2  ^  Header 3        ^
 +|  @lightgreen:**Span**         ||                  |
 +|  @#6495ed:Ligne 1 |  Oui        Oui, à valider  |
 +|  Ligne 2          |  Oui        @orange: Oui    |
 +|  @:Ligne 3        |  Oui       | @red:Non         |
 +
 +This one :
 +<code>
 +|  @palegreen:Validé  |  @orange:À valider  |  @red:Non fonctionnel  |
 +</code>
 +looks like : \\ 
 +|  @palegreen:Validé  |  @orange:À valider  |  @red:Non fonctionnel  |
 +
 +
 +
 +
 +===== Features =====
 +  * Uses HTML color codes and names [[http://html-color-codes.info/|HTML Color Code Chart]]
 +  * Works with other table formatting (alignment, bold, ...)