Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Newline control during append/prepend #194

Open
Thundercraft5 opened this issue Jan 9, 2025 · 2 comments
Open

[Feature] Newline control during append/prepend #194

Thundercraft5 opened this issue Jan 9, 2025 · 2 comments

Comments

@Thundercraft5
Copy link

Feature

Add a delimiter=<delimiter> parameter to allow for custom delimiters for appending/prepending to files.

Context

I couldn't find any mention for newline control in the documentation, such as a delimiter= parameter, Obsidian by default doesn't have this in it's own URI scheme yet.

@Vinzent03
Copy link
Owner

Could you give me an example? I'm currently not sure what you mean. If you want to insert a new line into your text, you have to use %0A

@Thundercraft5
Copy link
Author

Thundercraft5 commented Jan 13, 2025

Say I wanted to append some content: obsidian://adv-uri?vault=<your-vault>&daily=true&clipboard=true&mode=append

The plugin by default will use a newline before the content when appending it (even if there is no newline in the appended text iself). I want control over which character is used via delimiter=, so that I can use something like a space, a comma, or no separator at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants