Opened 17 years ago
Closed 8 years ago
#2452 closed defect (wontfix)
Use tag to begin / to end the color
Reported by: | Owned by: | David Roussel | |
---|---|---|---|
Priority: | normal | Component: | ColorMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
When I would like to color anything, I sometimes use symbols ", " "(" ") " and it poses problem of with the use of the macro.
I offer a resolution: use tag of the beginning and tag of the end, and accept named symbols (ex : [[Colorbegin(blue)]] text with (,) [[Colorend]]
)
Thanks
Attachments (0)
Change History (7)
comment:1 Changed 17 years ago by
comment:2 Changed 16 years ago by
I've fixed the comma problem, and updated the documentation text to note about '(' and ')'.
Using start and end tags could be done, but it would be two separate macros. Feel free to submit working code.
comment:3 Changed 15 years ago by
What about just adding an escape character for problematic characters. Then ( and ) could be used by specifying them as \( and \). I haven't looked at the code to see how this could be implemented, but it seems like it would be straightforward. Your thoughts?
comment:4 Changed 15 years ago by
patches welcome on this one. I haven't the time to mess around with it. Maybe next year! :-)
comment:5 Changed 8 years ago by
Currently it is not possible to set the text color for a large wiki block, only for small sentences inside the macro syntax. Please add a begin and end tag to set the font color in a wiki.
comment:6 Changed 8 years ago by
Ok, I found the
{{{#!Color color=green Wikitext }}}
syntax of the WikiExtrasPlugin, which only works when removing the ColorMacro.
comment:7 Changed 8 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Plugin is deprecated. Please use WikiExtrasPlugin instead.
The problem is that the documentation says "any text or html you like", which is not quite true. I found that using a comma in the text field confuses the macro. Please start off by documenting the characters that we can not use. Then provide a workaround to enable us to use those few forbidden characters.