mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-16 17:02:51 +08:00
Update README
This commit is contained in:
parent
6df90442b7
commit
695327ec72
16
README.md
16
README.md
@ -100,12 +100,14 @@ Now you can list available examples in this repository:
|
|||||||
```
|
```
|
||||||
> dotnet example
|
> dotnet example
|
||||||
|
|
||||||
Examples
|
╭────────┬───────────────────────────────┬─────────────────────────────────────────────────╮
|
||||||
|
│ Name │ Path │ Description │
|
||||||
Colors Demonstrates how to use colors in the console.
|
├────────┼───────────────────────────────┼─────────────────────────────────────────────────┤
|
||||||
Grid Demonstrates how to render grids in a console.
|
│ Colors │ examples/Colors/Colors.csproj │ Demonstrates how to use colors in the console. │
|
||||||
Panel Demonstrates how to render items in panels.
|
│ Grid │ examples/Grid/Grid.csproj │ Demonstrates how to render grids in a console. │
|
||||||
Table Demonstrates how to render tables in a console.
|
│ Panel │ examples/Panel/Panel.csproj │ Demonstrates how to render items in panels. │
|
||||||
|
│ Table │ examples/Table/Table.csproj │ Demonstrates how to render tables in a console. │
|
||||||
|
╰────────┴───────────────────────────────┴─────────────────────────────────────────────────╯
|
||||||
```
|
```
|
||||||
|
|
||||||
And to run an example:
|
And to run an example:
|
||||||
@ -116,7 +118,7 @@ And to run an example:
|
|||||||
│ Foo │ Bar │ Baz │
|
│ Foo │ Bar │ Baz │
|
||||||
├──────────┼──────────┼────────┤
|
├──────────┼──────────┼────────┤
|
||||||
│ Hello │ World! │ │
|
│ Hello │ World! │ │
|
||||||
│ Bounjour │ le │ monde! │
|
│ Bonjour │ le │ monde! │
|
||||||
│ Hej │ Världen! │ │
|
│ Hej │ Världen! │ │
|
||||||
└──────────┴──────────┴────────┘
|
└──────────┴──────────┴────────┘
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user