Kind: Function
Source: atloria-monorepo/packages/editor/src/directive-editors/IncludeDirectiveDescriptor.tsx
Builds the ::include{snippet="…"} mdast payload (for slash-menu insertion).
Signature
tsfunction createIncludeMdast(snippetName: string): LeafDirective
Parameters
| Name | Type |
|---|---|
snippetName | string |
Returns: LeafDirective
Was this page helpful?