1
0
mirror of https://github.com/nsnail/spectre.console.git synced 2025-04-25 04:32:51 +08:00

Move table and calendar docs

This commit is contained in:
Patrik Svensson 2020-10-20 01:45:01 +02:00 committed by Patrik Svensson
parent 5a1b8a1710
commit 3941fd81ab
5 changed files with 10 additions and 5 deletions
docs/input

Binary file not shown.

After

(image error) 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.

@ -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](assets/images/table.png) ![Table](../assets/images/table.png)
# Table appearance # Table appearance