# ExtendedRootContent Type documentation

## TypeScript declaration

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

**Kind:** type alias

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

```
type ExtendedRootContent = RootContent | Footnotes | Citations | DirectiveNode
```

### Types Documentation

### [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>) |

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

**Kind:** interface

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

AST node created by `remark-directive`.

```
interface DirectiveNode extends Parent
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [attributes](<https://github.com/siemens/element/blob/main/projects/element-ng/markdown/si-markdown.types.ts#L59-L59>) | `Record<string, string \| undefined>` | Attributes declared on the directive. |
| children (inherited) | `RootContent[]` | List of children.<br><br>Inherited from [Parent](<https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mdast>) |
| data (optional, inherited) | `Data` | Info from the ecosystem.<br><br>Inherited from [Node](<https://developer.mozilla.org/docs/Web/API/Node>) |
| [name](<https://github.com/siemens/element/blob/main/projects/element-ng/markdown/si-markdown.types.ts#L57-L57>) | `string` | The directive name without its leading colons. |
| 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://developer.mozilla.org/docs/Web/API/Node>) |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/markdown/si-markdown.types.ts#L55-L55>) | `"containerDirective" \| "leafDirective" \| "textDirective"` | Node type.<br><br>Inherited from [Node](<https://developer.mozilla.org/docs/Web/API/Node>) |

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

**Kind:** interface

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

Extra node for collecting all footnotes

```
interface Footnotes extends Parent
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [children](<https://github.com/siemens/element/blob/main/projects/element-ng/markdown/si-markdown.types.ts#L121-L121>) | `FootnoteDefinition[]` | List of children.<br><br>Inherited from [Parent](<https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mdast>) |
| data (optional, inherited) | `Data` | Info from the ecosystem.<br><br>Inherited from [Node](<https://developer.mozilla.org/docs/Web/API/Node>) |
| 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://developer.mozilla.org/docs/Web/API/Node>) |
| [type](<https://github.com/siemens/element/blob/main/projects/element-ng/markdown/si-markdown.types.ts#L120-L120>) | `"footnotes"` | Node type.<br><br>Inherited from [Node](<https://developer.mozilla.org/docs/Web/API/Node>) |

### [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>) |
