pub fn extract_json_from_possible_backticks_block(content: &str) -> &str
Expand description
Extracts JSON from a content string by removing surrounding json\n and \n
markers if present,
and trims any leading or trailing whitespace from the input.
§Arguments
content
- The content string to process.
§Returns
&str
- The processed content string with markers and extra whitespace removed, or the original trimmed content if markers are absent.