mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-16 17:02:51 +08:00
Move table and calendar docs
This commit is contained in:
parent
5a1b8a1710
commit
3941fd81ab
BIN
docs/input/assets/images/table.gif
Normal file
BIN
docs/input/assets/images/table.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 MiB |
@ -20,7 +20,7 @@ for Python written by Will McGugan.
|
|||||||
The library will detect the capabilities of the current terminal
|
The library will detect the capabilities of the current terminal
|
||||||
and downgrade colors as needed.
|
and downgrade colors as needed.
|
||||||
|
|
||||||
## Example
|
## Examples
|
||||||
|
|
||||||
<img width="100%"
|
<img src="assets/images/table.gif" style="max-width: 100%; margin-top: 15px; margin-bottom: 25px;" />
|
||||||
src="https://github.com/spectresystems/spectre.console/raw/main/resources/gfx/screenshots/example.png" />
|
<img src="https://github.com/spectresystems/spectre.console/raw/main/resources/gfx/screenshots/example.png" style="max-width: 100%;" />
|
@ -1,5 +1,6 @@
|
|||||||
Title: Calendar
|
Title: Calendar
|
||||||
Order: 4
|
Order: 4
|
||||||
|
RedirectFrom: calendar
|
||||||
---
|
---
|
||||||
|
|
||||||
The `Calendar` is used to render a calendar to the terminal.
|
The `Calendar` is used to render a calendar to the terminal.
|
3
docs/input/widgets/index.md
Normal file
3
docs/input/widgets/index.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Title: Widgets
|
||||||
|
Order: 9
|
||||||
|
---
|
@ -1,5 +1,6 @@
|
|||||||
Title: Tables
|
Title: Table
|
||||||
Order: 3
|
Order: 3
|
||||||
|
RedirectFrom: tables
|
||||||
---
|
---
|
||||||
|
|
||||||
Tables are a perfect way of displaying tabular data in a terminal.
|
Tables are a perfect way of displaying tabular data in a terminal.
|
||||||
@ -36,7 +37,7 @@ AnsiConsole.Render(table);
|
|||||||
|
|
||||||
This will render the following output:
|
This will render the following output:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
# Table appearance
|
# Table appearance
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user