Source for file Colortext.php
Documentation is available at Colortext.php
//no similar in Doku, using <html>
class Text_Wiki_Render_Doku_Colortext extends Text_Wiki_Render {
* Renders a token into text matching the requested format.
* @param array $options The "options" portion of the token (second
* @return string The text rendered from the token options.
if (!in_array($options['color'], $this->colors)) {
$options['color'] = '#' . $options['color'];
if ($options['type'] == 'start') {
return '<html><span style="color: '. $options['color']. ';"></html>';
if ($options['type'] == 'end') {
return '<html></span></html>';
Documentation generated on Mon, 11 Mar 2019 14:12:33 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|