Include embedded PDFs in export

Use case or problem

When exporting to PDF, currently embedded PDFs are not exported.

Proposed solution

I think that there should be an option on export to select the pages from embedded PDFs which are included in the exported PDF.
There should be an option to choose the range, because the whole PDF shouldn’t be exported and if one page is linked, then for me I most often need multiple pages from that page onwards and not only a single page.

Because it’s already PDF I gather it would be just a matter of inserting the specified pages into the PDF at the place of the embed.