# continueMarkdownList (@salmonui/editors/markdown-editor)

> The continueMarkdownList function of @salmonui/editors/markdown-editor: Enter inside a list item: continues the marker on a new line (the next number for ordered lists, an unchecked box for task lists); on an empty item it removes the marker and ends the list. Null when the caret line is not a list item or the selection is not a caret.

Canonical: https://salmonui.dev/docs/reference/editors/markdown-editor/continueMarkdownList

```ts
import { continueMarkdownList } from '@salmonui/editors/markdown-editor';
```

Entry index: https://salmonui.dev/docs/reference/editors/markdown-editor (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/editors/markdown-editor.md).

## Reference

Kind: function

```ts
function continueList(state: TextState): TextState | null;
```

Enter inside a list item: continues the marker on a new line
(the next number for ordered lists, an unchecked box for task lists); on
an empty item it removes the marker and ends the list. Null when the
caret line is not a list item or the selection is not a caret.
