I didn't know page size was possible. The way I export is by opening preview and then save as pdf. I haven't seen any customization options. I would also like to be able to create page breaks for each top level heading. Typora does it and it works well, but I always get quirky stuff with my pdf exports.