Skip to content

SnippetPreview

reference
1 min readUpdated

Kind: Interface

Source: atloria-monorepo/packages/editor/src/directive-editors/IncludeDirectiveDescriptor.tsx

B4 reusable content — ::include{snippet="name"}.

The directive is a REFERENCE, never a copy: the editor stores only the leaf directive; expansion happens server-side at serve time. The editor shows a read-only preview card (content fetched through resolveSnippet, if given) so authors see what will be included without being able to fork the text.

Properties

PropertyType
titlestring
contentstring

Was this page helpful?

Download as PDF