Method Markup
- Namespace
- Ploch.CommandLine.Spectre.Output
- Assembly
- Ploch.CommandLine.Spectre.dll
Markup(string)
Writes a string that is parsed as Spectre.Console markup to the console.
public IOutput Markup(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.