SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.
JavaScript a2aagentic-aiai-agentsdevtoolsmcp-clientn8n-alternativeno-codeopen-sourceorchestrationsmythosvisual-builder
Refactor paragraph and list item styling in MarkdownRenderer component
Salman-Ahamed50338707188a
diff --git a/packages/app/src/react/features/ai-chat/components/markdown-renderer.tsx b/packages/app/src/react/features/ai-chat/components/markdown-renderer.tsxindex d41560d7..1d1f6300 100644--- a/packages/app/src/react/features/ai-chat/components/markdown-renderer.tsx+++ b/packages/app/src/react/features/ai-chat/components/markdown-renderer.tsx@@ -59,8 +59,8 @@ export const MarkdownRenderer: FC<IMarkdownRendererProps> = ({ message, classNam// Images with responsive stylingimg: (props) => <img {...props} className="max-w-full h-auto rounded my-4" />,- // Paragraphs with proper whitespace handling- p: (props) => <p className="whitespace-pre-wrap leading-relaxed" {...props} />,+ // Paragraphs styling+ p: (props) => <p className="leading-relaxed" {...props} />,// Links with color and underlinea: (props) => (<a@@ -79,7 +79,7 @@ export const MarkdownRenderer: FC<IMarkdownRendererProps> = ({ message, classNam<ol {...props} className="list-decimal list-inside space-y-2 leading-relaxed" />),// List items- li: (props) => <li className="whitespace-pre-wrap leading-relaxed" {...props} />,+ li: (props) => <li className="leading-relaxed" {...props} />,// Blockquote stylingblockquote: (props) => (<blockquote