Tabel Formatter
This lib is used to format plain-text table.
Example
Code:
let table_header = vec!;
let table_cells = ;
let table = table! ;
let mut buffer = vec!;
table.render.unwrap;
println!;
Output:
────────────────────────────────────────────────────────────
| Cell Row Left Center Right |
|──────────────────────────────────────────────────────────|
| Cell Row Left Center Right |
| Cell Row Left Center Right |
| Cell Row Left Center Right |
| Cell Row Left Center Right |
| Cross Cell! |
────────────────────────────────────────────────────────────
Actually the border of the table is bold, but it cannot be rendered in markdown.
Future Plan
Waiting for report :)
Change Log
I've forgot this, so change-log will start from v0.5.0
V0.5.0
New features
- Add render target: Markdown.
- Add cross-cell support.
- Add macro support.
Warning
This version is Completely Incompatible with previous versions.
License
MIT or Apache-2.0