Add documentation for tables

Also moves "Colors" and "Styles" sections to appendix.
This commit is contained in:
Patrik Svensson
2020-09-08 18:04:24 +02:00
committed by Patrik Svensson
parent 3e9796849b
commit 003e15686f
6 changed files with 174 additions and 50 deletions

View File

@ -0,0 +1,16 @@
Title: Colors
Order: 0
---
The following is a list of the standard 8-bit colors supported in terminals.
Note that the first 16 colors are generally defined by the system or your terminal software, and may not display exactly as rendered here.
# Usage
You can either use the colors in code, such as `new Style(foreground: Color.Maroon)` or
in markup text such as `AnsiConsole.Markup("[maroon on blue]Hello[/]")`.
# Standard colors
<?# ColorTable /?>