| title | MarkdownContent Class | |||
|---|---|---|---|---|
| description | The MarkdownContent class is used to define the content of a a command palette item in markdown format. | |||
| ms.date | 2/25/2025 | |||
| ms.topic | reference | |||
| no-loc |
|
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
Inherits BaseObservable
Implements IMarkdownContent
The MarkdownContent class is used to represent the content of a command palette item in markdown format. It provides properties to specify the body of the markdown content and whether it should be rendered as HTML.
| Property | Type | Description |
|---|---|---|
| Body | String | The body of the markdown content. This property is required and cannot be null or empty. |