Function madato::mk_table[][src]

pub fn mk_table(
    data: &[TableRow<String, String>],
    render_options: &Option<RenderOptions>
) -> String

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

Arguments

data - Slice of TableRows render_options - Set of "config" that drives filtering, ordering, output.