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

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

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

Normalize block-level prose for CommonMark: insert a blank line before any list marker (`- `, `* `,
`+ `, or `\d+. `) when the preceding non-empty line is not already a list item. Without this,
CommonMark treats the list items as paragraph continuation text.

## Parameters

### text

`string`

## Returns

`string`
