mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-06-19 13:28:16 +08:00
Remove Render
from docs in favor of Write
(#613)
The `Render` method has been obsoleted.
This commit is contained in:
@ -9,7 +9,7 @@ Spectre.Console can render [FIGlet](http://www.figlet.org/) text by using the `F
|
||||
## Default font
|
||||
|
||||
```csharp
|
||||
AnsiConsole.Render(
|
||||
AnsiConsole.Write(
|
||||
new FigletText("Hello")
|
||||
.LeftAligned()
|
||||
.Color(Color.Red));
|
||||
@ -23,7 +23,7 @@ AnsiConsole.Render(
|
||||
```csharp
|
||||
var font = FigletFont.Load("starwars.flf");
|
||||
|
||||
AnsiConsole.Render(
|
||||
AnsiConsole.Write(
|
||||
new FigletText(font, "Hello")
|
||||
.LeftAligned()
|
||||
.Color(Color.Red));
|
||||
|
Reference in New Issue
Block a user