Skip to content

feat(in-note-text-tagging): add option to detect tags only at line start#290

Merged
pbek merged 3 commits intoqownnotes:mainfrom
starze:main
May 7, 2026
Merged

feat(in-note-text-tagging): add option to detect tags only at line start#290
pbek merged 3 commits intoqownnotes:mainfrom
starze:main

Conversation

@starze
Copy link
Copy Markdown
Contributor

@starze starze commented May 6, 2026

This pull request introduces an option that allows tag detection to be restricted to tags at the beginning of a line.

I keep many notes where I copy and paste things like code snippets or comments containing @ or #.

For example:

...
npm install @company/module
...

This switch improves auto tag detection for such scenarios a lot.
The downside, when enabled, is that it is no longer possible to include multiple tags on a single line. However, I believe the trade-off is worth it. Those who prefer the previous behavior can simply keep using the existing toggle.

@pbek
Copy link
Copy Markdown
Member

pbek commented May 6, 2026

Can you please also bump the version number in the info.json so users will get an update notification and add yourself as author (if you don't already are)?

Please also mention the current authors of the script in this issue!

@starze
Copy link
Copy Markdown
Contributor Author

starze commented May 6, 2026

Hi @pbek,

Thanks for your fast response!
I bumped the version to 0.3.0 and added myself as author.

Hi @Maboroshy, @luginf,
I hope you like the changes :-)

Signed-off-by: Patrizio Bekerle <patrizio@bekerle.com>
@pbek pbek merged commit a1cadd7 into qownnotes:main May 7, 2026
@pbek
Copy link
Copy Markdown
Member

pbek commented May 7, 2026

Thank you for your contribution! 😉

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

Successfully merging this pull request may close these issues.

2 participants