Type Alias BpxTextColorMarkers

BpxTextColorMarkers: {
    [marker: string]: BpxRgbColor;
}

A map of special text sequences to be treated as instructions to change the color of the printed text from a given char position.

const prevMarkers = $d.setTextColorMarkers({
red_theBest: $rgb_red,
b: $rgb_blue,
});
$d.text("colors are: green, [b]blue, [red_theBest]red", $v(10), $rgb_green);
$d.setTextColorMarkers(prevMarkers);

BeetPxDraw.setTextColorMarkers