Configure newline when appending/prepending in Obsidian URI

Use case or problem

When using Obsidian Web Clipper with behavior “Add to an existing note, at the bottom” Obsidian URI adds an empty line before content by default, which prevents some use cases. Tested in sandbox vault.

Use case example

I have predefined table header in note like this:

| head 1 | head 2 |
| ------- | -------- |

I want to add content with template:

| {{val1}} | {{val2}} |

Expected result:

head 1 head 2
val1 val2

Actual result (broken table syntax with new line):

head 1 head 2

| val1 | val2 |

Proposed solution

Ability to configure this to use with Obsidian Web Clipper or or don’t add an empty line (not the best option)

Current workaround (optional)

Manually delete new lines…

Related feature requests (optional)

1 Like

Additional github issue: Add option to remove empty spaces when adding to existing note · Issue #252 · obsidianmd/obsidian-clipper