Skip to main content

entrypoint

Function entrypoint 

Source
pub(crate) fn entrypoint(
    stream: &MdStream<'_>,
    buf: &mut Vec<u8>,
    formatter: Option<&(dyn Fn(&str, &mut Vec<u8>) -> Result<()> + 'static)>,
) -> Result<()>
Expand description

Print to the terminal output to a buffer optionally with a formatter for code blocks