mirror of
				https://github.com/nsnail/spectre.console.git
				synced 2025-11-04 10:35:27 +08:00 
			
		
		
		
	Update Documentation for escape
This commit is contained in:
		
				
					committed by
					
						
						Patrik Svensson
					
				
			
			
				
	
			
			
			
						parent
						
							f34fc43d00
						
					
				
				
					commit
					9915a0d6a8
				
			@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user