[−][src]Function rustdoc::html::markdown::markdown_summary_with_limit

pub(in html::markdown) fn markdown_summary_with_limit(
    md: &str,
    length_limit: usize
) -> (String, bool)

Renders a subset of Markdown in the first paragraph of the provided Markdown.

Returns a tuple of the rendered HTML string and whether the output was shortened due to the provided length_limit.