pub fn extract_markdown_block(text: &str) -> Result<String, ParseError>Expand description
Extracts content from any Markdown code block in the text.
This function searches for the first code block (delimited by triple backticks) and returns its content. The code block can have any language specifier or none at all.
ยงReturns
A Result containing the extracted code block content on success, or a ParseError
if no code block is found.