| Crates.io | markdown-table |
| lib.rs | markdown-table |
| version | 0.2.0 |
| created_at | 2022-03-16 20:30:31.04176+00 |
| updated_at | 2023-06-29 03:29:34.621865+00 |
| description | Creating markdown tables with Rust! |
| homepage | https://github.com/Xithrius/markdown-table-rs |
| repository | https://github.com/Xithrius/markdown-table-rs |
| max_upload_size | |
| id | 551425 |
| size | 19,427 |
Creating markdown tables with Rust!
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 |