import type { Node } from 'mdast'; /** * If the cell has exactly one paragraph child, unwrap it so its inline children sit * directly under the cell (matches GFM table cell shape and avoids stray `
` wrappers). * * When there are multiple paragraphs, leave them intact — they represent distinct lines * of content that need to be preserved for JSX `