Table of Contents

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

value string

The markup to render.

Returns

IOutput

The current output instance for method chaining.

Exceptions

ArgumentNullException

value is null.

InvalidOperationException

value is not well-formed markup.