markdown-table

Crates.iomarkdown-table
lib.rsmarkdown-table
version0.2.0
sourcesrc
created_at2022-03-16 20:30:31.04176
updated_at2023-06-29 03:29:34.621865
descriptionCreating markdown tables with Rust!
homepagehttps://github.com/Xithrius/markdown-table-rs
repositoryhttps://github.com/Xithrius/markdown-table-rs
max_upload_size
id551425
size19,427
(Xithrius)

documentation

https://github.com/Xithrius/markdown-table-rs

README

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
Commit count: 23

cargo fmt