Class
MarkupPresenter
ConsoleMonster.Presenters
Shows text values as markup ([pass]OK[/] [muted]3s[/]) and RichText with its own styles. Data is literal everywhere else, so this presenter is the opt-in (column option Markup = $true or Presenter = 'Markup'). Invalid markup is shown literally; line breaks become spaces in one cell line.
Inheritance
- object
- MarkupPresenter
Constructors
public MarkupPresenter() #Methods
public PresentedValue Present(object? value, PresenterContext context) #Presents a value.
Parameters
- value object?
- The raw value (may be null).
- context ConsoleMonster.Presenters.PresenterContext
- Culture, clock, time zone, column statistics and the render context.