Color Macro
Description
ColorMacro is a very simple macro that allows you to change the background color of a piece of text. Useful for highlighting, or RAG (red, amber, green) status reports.
Usage:
[[Color( background-color, color , text )]]
or
[[Color( color , text )]]
Where:
- color
- is a color keyword or hex color number recognised by your browser
- text
- your text, commas are allowed, but '(' and ')' cause a problem
Bugs/Feature Requests
Existing bugs and feature requests for ColorMacro are here.
If you have any issues, create a new ticket.
Download
Download the zipped source from here.
Source
You can check out ColorMacro from here using Subversion, or browse the source with Trac.
Example
Example:
[[Color(red,This has a red background)]] [[Color(blue, green,This has a blue background and green text)]] [[Color(none,#bb0000,I'm using a hex color)]]
Giving:
This has a red background This has a blue background and green text I'm using a hex colorRecent Changes
[4513] by diroussel on 10/16/08 05:11:37
ColorMacro: added ability to have commas in text, fixing ticket:2657
[4512] by diroussel on 10/16/08 05:01:31
ColorMacro: added ability to have commas in text, fixing ticket:2657
[4510] by diroussel on 10/16/08 04:44:57
ColorMacro: added 0.11 port, thanks to andyhan
[2234] by diroussel on 05/10/07 04:20:07
Initial commit of ColorMacro
Author/Contributors
Author: diroussel
Contributors:
Attachments
- ColorMacro.zip (0.6 kB) -
ColorMacro for Trac 0.11.x
, added by andyhan on 08/20/08 01:10:00.
