# SiMarkdownControl Type documentation

## TypeScript declaration

### [SiMarkdownControl](<https://github.com/siemens/element/blob/main/projects/element-ng/markdown/si-markdown-token.ts#L17-L22>)

**Kind:** interface

```
import type { SiMarkdownControl } from '@siemens/element-ng/markdown';
```

Interface of si-markdown exposed to children.

```
interface SiMarkdownControl
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [debug](<https://github.com/siemens/element/blob/main/projects/element-ng/markdown/si-markdown-token.ts#L20-L20>) | `Signal<boolean>` |  |
| [extensionEvent](<https://github.com/siemens/element/blob/main/projects/element-ng/markdown/si-markdown-token.ts#L21-L21>) | `OutputEmitterRef<{ name: string; data: any; }>` |  |
| [meta](<https://github.com/siemens/element/blob/main/projects/element-ng/markdown/si-markdown-token.ts#L19-L19>) | `Signal<SiMarkdownMetadata>` |  |
| [templates](<https://github.com/siemens/element/blob/main/projects/element-ng/markdown/si-markdown-token.ts#L18-L18>) | `Signal<Map<string, TemplateRef<any>>>` |  |

### Types Documentation

### [SiMarkdownMetadata](<https://github.com/siemens/element/blob/main/projects/element-ng/markdown/si-markdown.types.ts#L100-L102>)

**Kind:** interface

```
import type { SiMarkdownMetadata } from '@siemens/element-ng/markdown';
```

Options passed to makeProcessor()

```
interface SiMarkdownMetadata
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [citations](<https://github.com/siemens/element/blob/main/projects/element-ng/markdown/si-markdown.types.ts#L101-L101>) (optional) | `SiMarkdownCitation[]` |  |

### [SiMarkdownCitation](<https://github.com/siemens/element/blob/main/projects/element-ng/markdown/si-markdown.types.ts#L89-L97>)

**Kind:** interface

```
import type { SiMarkdownCitation } from '@siemens/element-ng/markdown';
```

Citation metadata associated with a markdown response.

```
interface SiMarkdownCitation extends SourceReference
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [description](<https://github.com/siemens/element/blob/main/projects/element-ng/source-chip/si-source-chip.model.ts#L13-L13>) (optional, inherited) | `string` | Optional source description.<br><br>Inherited from [SourceReference](<index.html#t:SourceReference>) |
| [identifier](<https://github.com/siemens/element/blob/main/projects/element-ng/markdown/si-markdown.types.ts#L91-L91>) (optional) | `string` | Identifier referenced by bracket notation, such as `[source-1]`. |
| [name](<https://github.com/siemens/element/blob/main/projects/element-ng/source-chip/si-source-chip.model.ts#L9-L9>) (inherited) | `string` | Source name displayed to the user.<br><br>Inherited from [SourceReference](<index.html#t:SourceReference>) |
| [position](<https://github.com/siemens/element/blob/main/projects/element-ng/markdown/si-markdown.types.ts#L93-L96>) (optional) | `{ startIndex: number; endIndex: number; }` | Zero-based, end-exclusive source range of the citation reference in the markdown source. |
| [quote](<https://github.com/siemens/element/blob/main/projects/element-ng/source-chip/si-source-chip.model.ts#L15-L15>) (optional, inherited) | `string` | Optional source quote. Takes precedence over [description](<index.html#t:SiMarkdownCitation.description>).<br><br>Inherited from [SourceReference](<index.html#t:SourceReference>) |
| [url](<https://github.com/siemens/element/blob/main/projects/element-ng/source-chip/si-source-chip.model.ts#L11-L11>) (inherited) | `string` | Source URL.<br><br>Inherited from [SourceReference](<index.html#t:SourceReference>) |

### [SourceReference](<https://github.com/siemens/element/blob/main/projects/element-ng/source-chip/si-source-chip.model.ts#L7-L16>)

**Kind:** interface

```
import type { SourceReference } from '@siemens/element-ng/source-chip';
```

Definition of a single source

```
interface SourceReference
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [description](<https://github.com/siemens/element/blob/main/projects/element-ng/source-chip/si-source-chip.model.ts#L13-L13>) (optional) | `string` | Optional source description. |
| [name](<https://github.com/siemens/element/blob/main/projects/element-ng/source-chip/si-source-chip.model.ts#L9-L9>) | `string` | Source name displayed to the user. |
| [quote](<https://github.com/siemens/element/blob/main/projects/element-ng/source-chip/si-source-chip.model.ts#L15-L15>) (optional) | `string` | Optional source quote. Takes precedence over [description](<index.html#t:SourceReference.description>). |
| [url](<https://github.com/siemens/element/blob/main/projects/element-ng/source-chip/si-source-chip.model.ts#L11-L11>) | `string` | Source URL. |
