Skip to main content

reformat_text

Function reformat_text 

Source
pub fn reformat_text(
    text: &str,
    width: usize,
    plaintext: bool,
    semantic: bool,
    cleanups: bool,
    smartquotes: bool,
    ellipses: bool,
    list_spacing: ListSpacing,
) -> String
Expand description

Reformat a Markdown or plain text string.