# mdToStorageHtml

**Kind:** Function

**Source:** [`atloria-monorepo/apps/api/src/technical-docs/techdocs-export.service.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/api/src/technical-docs/techdocs-export.service.ts#L19)

Minimal markdown → XHTML for Confluence storage format. Covers what our generated
pages actually use (headings, paragraphs, fenced code, lists, bold/italic/inline
code, links, tables degrade to paragraphs). Dependency-free on purpose: `marked`
is ESM-only and breaks the CJS server build.

## Signature

```ts
function mdToStorageHtml(md: string): string
```

## Parameters

| Name | Type |
|---|---|
| `md` | `string` |

**Returns:** `string`
