# createIncludeDirectiveDescriptor

**Kind:** Function

**Source:** [`atloria-monorepo/packages/editor/src/directive-editors/IncludeDirectiveDescriptor.tsx`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/editor/src/directive-editors/IncludeDirectiveDescriptor.tsx#L45)

Factory for the `::include` directive descriptor.
Register in BOTH the solo and collaborative editors.

## Signature

```ts
function createIncludeDirectiveDescriptor(options: IncludeDirectiveOptions): DirectiveDescriptor<LeafDirective>
```

## Parameters

| Name | Type |
|---|---|
| `options` | `IncludeDirectiveOptions` |

**Returns:** `DirectiveDescriptor<LeafDirective>`
