Initializes a new instance of the AnsiMarkup class that writes to an existing AnsiWriter and uses the specified custom style tokens.
[NullableContext((byte)1)]
public AnsiMarkup(AnsiWriter writer, [Nullable(new byte[] { (byte)2, (byte)1 })] Dictionary<string, AnsiStyle>? customStyles)
The target writer to append markup output to.
A dictionary mapping custom token names (e.g. primary, success) to styles.