---
url: /reference/@cssdoc/markdown/functions/cell.md
---
# Function: cell()

```ts
function cell(text): string;
```

Defined in: [emitters/markdown/src/render.ts:239](https://github.com/thedannywahl/cssdoc/blob/main/emitters/markdown/src/render.ts#L239)

A GFM table-cell-safe rendering of prose (escape pipes + Vue-unsafe chars; empty → em dash).

## Parameters

### text

`string` | `undefined`

## Returns

`string`
