mdman::format::text

Function fill_row

Source
fn fill_row(
    row: &[String],
    col_widths: &[usize],
    alignment: &[Alignment],
) -> Vec<Vec<String>>
Expand description

Formats a row, filling cells with spaces and word-wrapping text.

Returns a vec of cells, where each cell is split into multiple lines.