Skip to content

0.17.0

Compare
Choose a tag to compare
@github-actions github-actions released this 27 Mar 15:33
· 213 commits to master since this release

0.17.0 (2023-03-27)

Bug Fixes

  • lint errors (6a42f41)
  • show error when providing empty user script (5cf3e28), closes #404

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 with Insert at end of section. Enabling Consider 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.

Obsidian_zPhbaZ7Gap

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