> ## Documentation Index
> Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# veryfront/markdown

> Markdown rendering with syntax highlighting and diagrams.

## Import

```ts theme={null}
import { Markdown } from "veryfront/markdown";
```

## Examples

```tsx theme={null}
import { Markdown } from "veryfront/markdown";

<Markdown># Hello{"\n\n"}Some **bold** text with `code`.</Markdown>
```

## Exports

### Components

| Name       | Description      | Source                                                                                                      |
| ---------- | ---------------- | ----------------------------------------------------------------------------------------------------------- |
| `Markdown` | Render markdown. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/react/components/chat/markdown.tsx#L218) |

### Types

| Name             | Description                   | Source                                                                                                     |
| ---------------- | ----------------------------- | ---------------------------------------------------------------------------------------------------------- |
| `CodeBlockProps` | Props accepted by code block. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/react/components/chat/markdown.tsx#L20) |
| `MarkdownProps`  | Props accepted by markdown.   | [source](https://github.com/veryfront/veryfront-code/blob/main/src/react/components/chat/markdown.tsx#L8)  |
