coding
coding.markdown_code_extractor
MarkdownCodeExtractor
(Experimental) A class that extracts code blocks from a message using Markdown syntax.
extract_code_blocks
(Experimental) Extract code blocks from a message. If no code blocks are found, return an empty list.
Arguments:
message
str - The message to extract code blocks from.
Returns:
List[CodeBlock]
- The extracted code blocks or an empty list.