Skip to main content

render_markdown_with_extra

Function render_markdown_with_extra 

Source
pub fn render_markdown_with_extra(
    input: &str,
    style: &MarkdownStyle,
    width: u16,
    extra_images: &[String],
) -> RenderResult
Expand description

Like render_markdown but also accepts a list of external image URLs to include in the result (e.g. images extracted from HTML or media attachments that don’t appear in the markdown itself).