Figlet
Spectre.Console can render FIGlet text by using the FigletText
class.
Default font
AnsiConsole.Write(
new FigletText("Hello")
.LeftJustified()
.Color(Color.Red));
Custom font
var font = FigletFont.Load("starwars.flf");
AnsiConsole.Write(
new FigletText(font, "Hello")
.LeftJustified()
.Color(Color.Red));
References
- FigletText Class