30 lines
782 B
Plaintext
30 lines
782 B
Plaintext
{
|
|
// Corresponds to CF_Markdown / Contentful_Markdown.ts
|
|
name: "markdown",
|
|
description: "Markdown content block with optional layout",
|
|
tags: ["content", "component"],
|
|
category: "components",
|
|
fields: {
|
|
name: {
|
|
type: "string",
|
|
required: true,
|
|
description: "Internal component name",
|
|
},
|
|
content: {
|
|
type: "textOrRef",
|
|
description: "Markdown/body text: either inline or file reference (file:path, e.g. file:slug.content.md)",
|
|
},
|
|
layout: {
|
|
type: "object",
|
|
useFields: "component_layout",
|
|
description: "Column width (grid) like CF_ComponentLayout",
|
|
},
|
|
alignment: {
|
|
type: "string",
|
|
enum: ["left", "center", "right"],
|
|
default: "left",
|
|
description: "Text alignment",
|
|
},
|
|
},
|
|
}
|