quickadd
quickadd copied to clipboard
Capture "Insert at end of section" doesn't work with subsections?
It looks like when "Insert at end of section" is enabled, the text will be added at the end of the section before any subsections, not at the very bottom of that section level (after the child sections). I understand that this may be intended behavior but wanted to ask about it anyway. I was trying to use it to insert subsections like "### {{DATE:HH:mm}} | {{VALUE}}\n" in the capture format. I understand that in some cases one would expect everything at the top just like it happened.
I hope the illustration explains what I meant.
![image](https://user-images.githubusercontent.com/92989/137048497-0ede42a5-9527-4b66-b64c-a40b18c3cd83.png)
I am having the same problem. It always adds it to the top of section regardless of what I set in the settings
I'd like to do exactly the same thing as @cansar. Great plugin and allowing inserting at the end of a section regardless of subsections would make it even better :-)
I'd like this feature as well. I think #134 is essentially the same request.
Hey! Thank you for reporting this. I'm considering this a new feature, not a bug. Some want their captures to be to the end of the target section, and others (like you) it to also take account of subsections. This behavior has been added in 0.17 :)
Use the Consider subsections
setting in Captures.
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