DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:cellbg2

Cell Background 2 Plugin

Compatible with DokuWiki

  • 2018-04-22 "Greebo" yes
  • 2017-02-19 "Frusterick Manners" yes
  • 2016-06-26 "Elenor Of Tsort" yes
  • 2015-08-10 "Detritus" yes

plugin Allows user-defined background colored cells in tables

Last updated on
2018-06-04
Provides
Syntax
Repository
Source
Conflicts with
block, note, sortablejs

Tagged with color, formatting, highlight, tables

Download and Installation

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

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:

^  Header 1         ^  Header 2  ^  Header 3        ^
|  @lightgreen:**Span**         ||                  |
|  @#6495ed:Ligne 1 |  Oui       |  Oui, à valider  |
|  Ligne 2          |  Oui       |  @orange: Oui    |
|  @:Ligne 3        |  Oui       | @red:Non         |

looks like:

exemple 1 preview

This one:

|  @palegreen:Validé  |  @orange:À valider  |  @red:Non fonctionnel  |

looks like:

exemple 2 preview

Wikis using cellbg

Features

  • Uses HTML color codes and names HTML Color Code Chart
  • Works with other table formatting (alignment, bold, …)

Limitations

  • Doesn't work with header lines (^ character), so just don't use them if you want a specific color for these lines
  • May not work with plugins introducing a different syntax than the DokuWiki one for tables
  • If “@…:” pattern is found out of a table, it might disable other syntax inside it (not sure about that).

Changes

plugin/cellbg2.txt · Last modified: 2018-06-19 10:01 by Aleksandr