Flatten Preview To Edit (snapshot) Functionality

Use case or problem

I would like to be able to take snapshots of what is seen in preview mode.

Proposed solution

Either at the note level or heading level, I would like to be able to click a button to create a snapshot of the current state in preview mode and flatten all embeds and the embed’s embeds down into the note so that, while in edit mode, all the text and images etc. are directly placed within (of course, until WYSIWYG, the images will not be actually visible, but the transclusion text will be there). I would hope that it would translate the heading hierarchy as deep as possible, and then begin using ordered lists to continue deeper after H6.

Current workaround (optional)

You could copy and paste the preview window, but it doesn’t work quite how I envision this feature.

Related feature requests (optional)

This idea is somewhat similar: Note Combo-Linker