From e2a9ed5bfa7d00bf0a24187ad51397968d6d805f Mon Sep 17 00:00:00 2001 From: Danny Banks Date: Thu, 21 Nov 2024 08:28:33 -0800 Subject: [PATCH] Update src/pages/[platform]/ai/conversation/ai-conversation/index.mdx Co-authored-by: Ian Saultz <52051793+atierian@users.noreply.github.com> --- src/pages/[platform]/ai/conversation/ai-conversation/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/[platform]/ai/conversation/ai-conversation/index.mdx b/src/pages/[platform]/ai/conversation/ai-conversation/index.mdx index 1747f6f9773..c4adcdb0cce 100644 --- a/src/pages/[platform]/ai/conversation/ai-conversation/index.mdx +++ b/src/pages/[platform]/ai/conversation/ai-conversation/index.mdx @@ -120,7 +120,7 @@ import ReactMarkdown from 'react-markdown'; /> ``` -Using ReactMarkdown with the `messageRenderer` prop also allows you to add any markdown customizations you'd like to use. For example you can add code syntax highlighting +The `messageRenderer` property lets you customize how markdown is rendered within the chat according to your application's needs. The example below demonstrates how to add code syntax highlighting by using `ReactMarkdown` with `rehypeHighlight`. ```tsx import ReactMarkdown from 'react-markdown';