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

> The linkMarkdown constant of @salmonui/editors/markdown-editor: text; an empty text uses the URL.

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

```ts
import { linkMarkdown } 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: const

```ts
const linkMarkdown: (text: string, url: string) => string;
```

`[text](url)`; an empty text uses the URL.
