The outlines group cards under their lists, so their pages come list by
list in the board's order (byList: 'lists', models/lib/exportPaging.js
byListOrder): a list's heading opens before its first card and closes
after its last, wherever the page boundary falls, and a list with no cards
is written where it stands, from the board's light first pass
(outlineMarks). Lines are joined with the separator before each line
(joinPage), so the pages together are byte for byte the whole file. The
Notion CSV counts its swimlane and custom field columns over the whole
board and writes its header on the first page.
Every page also passes the board's, lists' and swimlanes' titles through
the export boundary, as the whole-file export does; before, a paged
format's list titles came straight from the database.
Markdown and Obsidian write a list title once: two lists of one name used
to write their heading twice, each with the cards of both.
Leo stays whole: its card texts are a second section after the whole
outline. tests/exportPaging.test.cjs checks every page size against the
whole file, with empty lists and a card of a list the board does not have;
tests/playwright/specs/import-export-format-audit.e2e.js passes, 173/173.
Thanks to xet7 !
Notion's Markdown & CSV export is read as the downloaded .zip (opened on the
server under size limits) or as one database CSV: database properties map to
lists, people, dates, tags and custom fields, and page Markdown becomes the
card description. Export writes a database CSV that Notion's CSV import
reads, and which imports back.
Thanks to xet7 !