# createIncludeMdast

**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#L132)

Builds the `::include{snippet="…"}` mdast payload (for slash-menu insertion).

## Signature

```ts
function createIncludeMdast(snippetName: string): LeafDirective
```

## Parameters

| Name | Type |
|---|---|
| `snippetName` | `string` |

**Returns:** `LeafDirective`
