This function extracts the role and content from a markdown-formatted message.
Arguments
- message
A character string containing the markdown-formatted message.
Value
A list with two elements:
- role
A character string representing the role (e.g., "User", "Assistant", "System").
- content
A character string containing the extracted message content.