pub trait MarkdownToHtml<W: TextWrite = String> {
// Required method
fn markdown_to_html(&self, out: &mut W, source: &str) -> Result<()>;
}Expand description
Trait for converting Markdown to HTML.
§Errors
Parsing phase will never fail, so the only possible errors are I/O errors during rendering.