0.17.0
0.17.0 (2023-03-27)
Bug Fixes
Features
- Add setting to Captures to consider subsections in Insert After (30b66c6), closes #126 #134 #266. This will make
Insert after
capture also take nested headings into account when capturing withInsert at end of section
. EnablingConsider subsections
will insert the text to the end of the section & its subsections, rather than just at the end of the target section. A section is defined by a heading, and its subsections are all the headings 'under' that heading.
Previous behavior with Insert after
& Insert at end
enabled:
## Heading # Insert after here
- content 1
- content 2
- content 3 # captures to after this
### Nested heading 1
Content
## Another heading
Content
New behavior with Insert after
& Insert at end
, but not Consider subsections
enabled:
## Heading # Insert after here
- content 1
- content 2
- content 3 # captures to after this = same behavior as before. Enabled by default.
### Nested heading 1
Content
## Another heading
Content
New behavior with Insert after
, Insert at end
, AND Consider subsections
enabled:
## Heading # Insert after here
- content 1
- content 2
- content 3
### Nested heading 1
Content # captures to after this, as it's considered part of the "## Heading" section
## Another heading
Content