mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-18 06:24:20 +01:00
- Updated the regular expression pattern to include matching fenced code blocks in addition to headers. - Set the `dotAll` parameter to `true` to match across multiple lines in the regular expression. - Wrapped the message container with a `SingleChildScrollView` widget to enable scrolling when the message content exceeds the available space. - Implemented logic to conditionally render the message as markdown or selectable text based on the value of `hasMarkdown`. - Modified the `MarkdownStyleSheet` to customize the appearance of blockquotes and code blocks. - Updated the child widget of the message container to reflect the changes.