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

> The MarkdownCommandEvent interface of @salmonui/editors/markdown-editor.

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

```ts
import type { MarkdownCommandEvent } 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: interface

```ts
interface MarkdownCommandEvent {
    readonly id: string;
    readonly source: MarkdownEditorSource;
}
```

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `id` | `readonly id: string;` |  |  |
| `source` | `readonly source: MarkdownEditorSource;` |  |  |
