Method MarkupLine
- Namespace
- Ploch.CommandLine.Spectre.Output
- Assembly
- Ploch.CommandLine.Spectre.dll
MarkupLine(string)
Writes a string that is parsed as Spectre.Console markup to the console, followed by a line terminator.
public IOutput MarkupLine(string value)
Parameters
valuestringThe markup to render.
Returns
- IOutput
The current output instance for method chaining.
Exceptions
- ArgumentNullException
valueis null.- InvalidOperationException
valueis not well-formed markup.