Function mdman::format::text::fill_cell

source ยท
fn fill_cell(text: &str, width: usize, alignment: Alignment) -> Vec<String>
Expand description

Formats a cell. Word-wraps based on width, and adjusts based on alignment.

Returns a vec of lines for the cell.