Normalizes inline content into a run array. Strings become text runs, nested arrays flatten, and runs with empty text are dropped the way the server drops them on write.
const content = runs(['Ruled by ', bold('Princess Bubblegum'), '.']) Copy
const content = runs(['Ruled by ', bold('Princess Bubblegum'), '.'])
Normalizes inline content into a run array. Strings become text runs, nested arrays flatten, and runs with empty text are dropped the way the server drops them on write.