pub fn extract_code_from_text(
text: &str,
delimiters: &[(String, String)],
) -> Option<(String, String)>Expand description
Extract the first code block from text content using the given delimiters.
Returns Some((code, remaining_text)) where code is the extracted code
and remaining_text is the original text with the code block removed.
Returns None if no code block is found.