Update Documentation for escape

This commit is contained in:
Takahito Yamatoya 2020-10-27 11:24:01 +09:00 committed by Patrik Svensson
parent f34fc43d00
commit 9915a0d6a8

View File

@ -49,7 +49,11 @@ You can also use the `EscapeMarkup` extension method.
```csharp
AnsiConsole.Markup("[red]{0}[/]", "Hello [World]".EscapeMarkup());
```
You can also use the `Markup.Escape` method.
```csharp
AnsiConsole.Markup("[red]{0}[/]", Markup.Escape("Hello [World]"));
```
# Setting background color
You can set the background color in markup by prefixing the color with