The Tree of Widsdom

智慧の樹

Color

^do( Color, color, text )^

Type: Macro

Purpose: Adds colored text

The Color macro colors text.

Hover below to reveal BoxPress code

<span style="color: $1;">$2</span>

Color sample

This is the markup that is rendered below

You will notice that the ^do(Color, red, "middle of this sentence is colored red")^ while the remainder is not. And the ^do(Color, #80a, "middle of this sentence is colored violet")^ while the remainder is not.

You will notice that the middle of this sentence is colored red while the remainder is not. And the middle of this sentence is colored violet while the remainder is not.