@lg-chat/lg-markdown
v5.0.3
Published
lg-chat LGMarkdown
Downloads
70,376
Readme
Lg Markdown
Installation
PNPM
pnpm add @lg-chat/lg-markdownYarn
yarn add @lg-chat/lg-markdownNPM
npm install @lg-chat/lg-markdownExample
Output HTML
Properties
| Prop | Type | Description | Default |
| ------------ | -------------------- | ----------------------------------------------------------------------------------------- | ------- |
| children | string | Content rendered by the component | |
| components | object | Override what React component will render the associated markdown tag, (e.g. {a: Anchor}) | |
| darkMode | boolean | Determines if the component should be rendered in dark mode | false |
| ... | ReactMarkdownProps | Other props from react-markdown | false |
