Skip to content

Commit

Permalink
Update src/pages/[platform]/ai/conversation/ai-conversation/index.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Ian Saultz <[email protected]>
  • Loading branch information
dbanksdesign and atierian authored Nov 21, 2024
1 parent d70613e commit e2a9ed5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit e2a9ed5

Please sign in to comment.