See here joplin/packages/lib/models/BaseItem.ts at e6ec27a501cd41c2caabaab58b57e35ee20b04d6 · laurent22/joplin · GitHub
Something like this: read file from the last line backwards, everything up until an empty line is properties, everything after that is body, the 1st line is title
2 Likes