Increase all heading levels for selection

Feature request to be able to increase the heading level of all headings in selection / under a specific heading (H1 → H2, H2 → H3, etc.)

Use case or problem

I find myself frequently in a situation where I need to introduce a higher level of classification over a part of my notes. Let’s say I took notes on verb tenses, but then I realized all those notes were related to the “indicatif” mood, and thus wanted to nest them under a higher-level heading “Indicatif” and allow for other sister nodes.

So, something like ## Present, ## Imparfait, ## Passé Composé becomes ## Indicatif ###Present ###Imparfait, ### Passé Composé ## Subjonctif ... ## Conditionnel ...

Proposed solution

Either a menu item or a command that would add an extra level to all headings selected. (Similar to the “Extract this heading” menu item.)

Current workaround (optional)

Manually adding a “#” behind all existing headings.

Related feature requests (optional)

I couldn’t find any.

1 Like

As an enhancement to your workaround you can use “Replace…” from the note menu to replace "# " with "## " (since you’re unlikely to have those symbols with spaces after them elsewhere in the text). Unfortunately you’ll have to confirm each one because it doesn’t have a “replace all in selection” feature. (I suppose you could cut and paste to a temporary note and back if it were a large section.)

In the meantime perhaps …

I have not tried it myself yet.