Skip to content

ColorizeHTMLConfig

Configuration options to customize colorizeHTML.

Every field accepts either a colorizer function or a space separated list of ANSI style tokens that will be converted to a colorizer function using toColorizer.

optional attrEq: ColorOrColorizer

Color for the equals sign between attribute key and value.


optional attrKey: ColorOrColorizer

Color for attribute keys.


optional attrValue: ColorOrColorizer

Color for attribute values.


optional content: ColorOrColorizer

Color applied to non-tag content.


optional tag: ColorOrColorizer

Color for tag names and their brackets.