# Citations Type documentation

## TypeScript declaration

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

**Kind:** interface

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

Container for one or more adjacent citation nodes.

```
interface Citations extends Node
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [children](<https://github.com/siemens/element/blob/main/projects/element-ng/markdown/si-markdown.types.ts#L115-L115>) | `Citation[]` |  |
| data (optional, inherited) | `Data` | Info from the ecosystem.<br><br>Inherited from [Node](<https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mdast>) |
| position (optional, inherited) | `Position` | Position of a node in a source document.<br><br>Nodes that are generated (not in the original source document) must not have a position.<br><br>Inherited from [Node](<https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mdast>) |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/markdown/si-markdown.types.ts#L114-L114>) | `"citations"` | Node type.<br><br>Inherited from [Node](<https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mdast>) |

### Types Documentation

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

**Kind:** interface

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

Inline node that references an item in the source citation array.

```
interface Citation extends Node
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [citationIndex](<https://github.com/siemens/element/blob/main/projects/element-ng/markdown/si-markdown.types.ts#L107-L107>) | `number` |  |
| data (optional, inherited) | `Data` | Info from the ecosystem.<br><br>Inherited from [Node](<https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mdast>) |
| position (optional, inherited) | `Position` | Position of a node in a source document.<br><br>Nodes that are generated (not in the original source document) must not have a position.<br><br>Inherited from [Node](<https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mdast>) |
| [text](<https://github.com/siemens/element/blob/main/projects/element-ng/markdown/si-markdown.types.ts#L109-L109>) (optional) | `string` | Text replaced by a position-based citation. |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/markdown/si-markdown.types.ts#L106-L106>) | `"citation"` | Node type.<br><br>Inherited from [Node](<https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mdast>) |
