Notes

Notes

Short thoughts, half-formed ideas, and things worth noting. Longer pieces live on the blog.

Filtered by #cmsClear

A small Strapi modeling trap

If you plan to keep Markdown as your source of truth and move to Strapi later, model the body as a Rich text (Markdown) field, not the newer Blocks field. Blocks stores a structured JSON tree, and there is no built-in Markdown-to-Blocks conversion, so you would have to write your own transformer at migration time.

Markdown round-trips as a plain string. One less thing to fight when the import script runs.