Skip to main content

markdown_cell

Function markdown_cell 

Source
pub fn markdown_cell(value: &str) -> Cow<'_, str>
Expand description

Escapes a value for one markdown table cell.

Backslashes and pipes are escaped, and control characters and Unicode line or paragraph separators become spaces, so the value cannot end its cell or row. A value needing no change is borrowed.