# preprocessMarkdown

**Kind:** Function

**Source:** [`atloria-monorepo/apps/web/src/components/Viewer/preprocessMarkdown.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/web/src/components/Viewer/preprocessMarkdown.ts#L6)

Preprocess markdown content to handle custom JSX components
Converts JSX-style components to HTML that ReactMarkdown can handle

## Signature

```ts
function preprocessMarkdown(content: string): string
```

## Parameters

| Name | Type |
|---|---|
| `content` | `string` |

**Returns:** `string`
