Files
rustycms/types/markdown.json5
Peter Meier 4de99db670
Some checks failed
Deploy to Server / deploy (push) Failing after 7s
Track all types in git, sync to server on deploy
2026-03-15 14:38:37 +01:00

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",
},
},
}