markdown-table

Creating markdown tables with Rust!

2 unstable releases

0.2.0 Jun 29, 2023
0.1.0 Mar 16, 2022

#818 in Text processing

Download history 69/week @ 2024-07-21 92/week @ 2024-07-28 39/week @ 2024-08-04 35/week @ 2024-08-11 42/week @ 2024-08-18 62/week @ 2024-08-25 52/week @ 2024-09-01 40/week @ 2024-09-08 25/week @ 2024-09-15 147/week @ 2024-09-22 268/week @ 2024-09-29 281/week @ 2024-10-06 321/week @ 2024-10-13 277/week @ 2024-10-20 278/week @ 2024-10-27 217/week @ 2024-11-03

1,101 downloads per month
Used in sss_moo

MIT/Apache

7KB
147 lines

markdown-table-rs

Creating markdown tables with Rust!

Example

Code:

use markdown_table::MarkdownTable;

let table = MarkdownTable::new(
    vec![
        vec!["test".to_string()],
        vec!["1".to_string()],
        vec!["2".to_string()]
    ]
);

println!("{}", table);

String output:

<table><tr><td>Testing<tr><td>1<tr><td>2</table>

Rendered:

Testing
1
2

Dependencies

~1.5MB
~21K SLoC