pub fn render_markdown_to_writer(
md: &str,
preserve_fences: bool,
output: &mut impl WriteColor,
) -> Result<()>Expand description
Render markdown to any termcolor::WriteColor output.
This is the same renderer used by the CLI, but exposes a writer-injected entrypoint for testing and embedding.