Update header indent when extracting notes

Use case or problem

I use a daily note to capture most of my notes, and then periodically extract those notes into their own notes. However, in the daily note, a new note may have a “level 3 header” (or any level for that matter). When it is extracted, I’d like to start all my notes at level 1.

For example, my daily note might look like this:

# Daily Note
## Pickles

### Dill Pickles
Dill Pickles are the best

### Gherkins
Gherkins are smaller than Dill Pickles.

I’d like to extract to a new page called Pickles, but I’d like to move the header up one automatically

# Pickles

## Dill Pickles
Dill Pickles are the best

## Gherkins
Gherkins are smaller than Dill Pickles.

Proposed solution

When you extract a note from a page, determine the header of the new note, and make than an H1, and un-indent all subsequent headers.

Current workaround (optional)

I manually do this when I extract a page.

Related feature requests (optional)