Notion Markdown exports frequently contain unquoted colons inside titles (title: Step 1: Audit), mixed YAML arrays, and relative 32-hex page links. Migrate-Anything extracts typed columns and body content cleanly into PostgreSQL DDL + JSONB.
| Markdown Pattern | Parser Failure | Migrate-Anything Fix |
|---|---|---|
| Unquoted colons in values | Strict YAML or naive split(":") throws syntax errors on title: Phase 1: Exit. |
Parses scalar lines via split(":", 1) and preserves full text intact. |
| Mixed list syntaxes | tags: ["Migration", "SQL"] vs dashed - Migration blocks lose array structure. |
Normalizes both bracketed and dashed YAML lists into typed json_array (JSONB). |
| 32-hex relative links | Links like Project-Alpha-8f1c...3b.md break when imported into Postgres CMS tables. |
Extracts the 32-char hex notion_page_uuid and records clean link metadata. |
curl -sS -X POST https://migrate.fastmesh.dev/v1/migrate \
-H "Content-Type: application/json" \
-d '{
"source_format": "notion",
"target_format": "postgres_ddl",
"table_name": "docs_pages",
"source_data": "---\ntitle: Step 1: Audit Workspace\ntags: [\"Docs\", \"Postgres\"]\nwindow: 2026-12-01 -> 2026-12-10\n---\nBody markdown with [Spec](Spec-8f1c9a0e2b3d4e5f6a7b8c9d0e1f2a3b.md)."
}'