Method WriteBold
- Namespace
- Ploch.CommandLine.Spectre.Output
- Assembly
- Ploch.CommandLine.Spectre.dll
WriteBold<TMessage>(TMessage?)
Writes a message in bold formatting to the console.
public IOutput WriteBold<TMessage>(TMessage? message)
Parameters
messageTMessageThe message to write in bold.
Returns
- IOutput
The current output instance for method chaining.
Type Parameters
TMessageThe type of the message to write.
Remarks
The processor returns the escaped text wrapped in the tag, so the result has to go through Markup(string): Write<TMessage>(TMessage, IFormatProvider?) would print the tag literally.