« Spectre.Console » : différence entre les versions
De Banane Atomic
Aller à la navigationAller à la recherche
(→Markup) |
(→Links) |
||
Ligne 2 : | Ligne 2 : | ||
= Links = | = Links = | ||
* [https://spectreconsole.net Spectre.Console] | * [https://spectreconsole.net Spectre.Console] | ||
* [https://spectreconsole.net/appendix/colors Colors] | |||
= [https://spectreconsole.net/markup Markup] = | = [https://spectreconsole.net/markup Markup] = |
Version du 27 août 2023 à 16:21
Links
Markup
AnsiConsole.MarkupLine("[green]One[/] [underline green]Two[/] [bold green]Three[/]"); // background AnsiConsole.Markup("[default on blue]One[/] [bold yellow on blue]Two[/]"); var message = "One"; AnsiConsole.MarkupInterpolated($"[red]{message}[/]"); |
Installation
dotnet add package Spectre.Console |