All docs
On this page

Fields

The field types available to a collection, and what each one writes to frontmatter.

Field types

TODO — the full list. For each: the config key, what the editor renders, and what the value looks like in frontmatter once written. A table is probably right once the list is known.

Text and rich text

TODO.

Dates

TODO — include the serialised format, since it determines whether a consumer’s Zod schema should use z.date() or z.string().

References

TODO — whether one entry can reference another, and how that serialises.

Required and optional fields

TODO — how a field is marked required, and how that interacts with the draft state. A draft presumably may be incomplete; a published entry presumably may not.

What Kobun will not write

TODO — anything the editor deliberately leaves alone in an existing file: unknown frontmatter keys, comments, formatting. This is the section that decides whether Kobun is safe to point at a repo that already has content in it, so it matters more than its length suggests.