Skip to main content

terminate_markdown

Function terminate_markdown 

Source
pub fn terminate_markdown(text: &str, opts: &TerminatorOptions) -> String
Expand description

Terminate a streaming Markdown tail to avoid partial rendering artifacts.

This function is intentionally conservative and only modifies the pending tail.