Crate madato[][src]

Modules

types
utils
yaml

Macros

hashmap
indexset
linkedhashmap
s
treemap

Functions

collect_headers
mk_md_data

Takes an ordered list of tuples; (heading_data) (key, column_width) and a slice of TableRows, the cell values The TableRow could carry more data than the keys provided. That is, only hm.get(key) will appear in the output.

mk_md_header

Returns a String of the heading and 2nd line of a markdown table.

mk_table

Takes an ordered list of headings and a Vector of TableRows, the cell values and produces a formatted Markdown Table.

named_table_to_md

From Spreadsheets, or keyed YAML files, the table could be named. When we generate the Markdown, we optionally may want the title of the table at the beginning.