Source for file Colortext.php
Documentation is available at Colortext.php
class Text_Wiki_Render_Latex_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.
$type = $options['type'];
$color = $options['color'];
if (! in_array($color, $this->colors)) {
return " <span style=\"color: $color;\">";
if ($options['type'] == 'end') {
Documentation generated on Mon, 11 Mar 2019 13:56:08 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|