MarkdownRenderer
component provides consistent markdown rendering across Cedar OS with advanced features like code syntax highlighting, copy functionality, and prefix processing for chat interfaces.
Prop | Type | Default | Description |
---|---|---|---|
content | string | - | The markdown content to render (required) |
processPrefix | boolean | false | Whether to process prefix markers for special styling |
className | string | '' | Additional CSS classes |
inline | boolean | false | Whether to render in inline mode |
noopener noreferrer
for security<span>
instead of <p>
@@PREFIX@@
and @@ENDPREFIX@@
) are automatically: