Skip to content

@pgege/kaboo-react


Function: MarkdownContent()

MarkdownContent(__namedParameters): Element

Defined in: components/MarkdownContent.tsx:17

Minimal, dependency-free markdown renderer used for agent text: supports #/##/### headings, -/* list items, **bold** inline, and blank-line spacing. Intentionally small — it is not a full CommonMark implementation.

Parameters

__namedParameters

text

string

Returns

Element

Example

import { MarkdownContent } from "@pgege/kaboo-react";

function Example() {
  return <MarkdownContent text={"# Title\n\nSome **bold** text."} />;
}