decaf-dev / obsidian-note-splitter

Split a note into individual notes based on a delimiter
MIT License
13 stars 2 forks source link

[FR] Add a setting for keeping delimeter #13

Closed emisjerry closed 2 months ago

emisjerry commented 2 months ago

i have a note:

In the city zoo, there were two sections. One was the clean section and the
other was the dirty section. 

The delimeter is the sentence-ending dot (.). Could you have a setting for keeping the ending dot?

My requirement: after splitting:

Note 1

In the city zoo, there were two sections. 

Note 2

One was the clean section and the other was the dirty section. 

Thanks.

emisjerry commented 2 months ago

BTW,I have a YouTube video that uses Note Splitter, maybe you'd be interested in seeing it:

https://youtu.be/Gu6B7nqUV9o

decaf-dev commented 2 months ago

Hey emisjerry. I will add this feature today.

On Sat, Aug 17, 2024, 3:37 AM emisjerry @.***> wrote:

BTW,I have a YouTube video that uses Note Splitter, maybe you'd be interested in seeing it:

https://youtu.be/Gu6B7nqUV9o

— Reply to this email directly, view it on GitHub https://github.com/decaf-dev/obsidian-note-splitter/issues/13#issuecomment-2294808740, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJTQYWZOXFBMUVO5ABGRQCTZR4KWXAVCNFSM6AAAAABMTW2WTGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJUHAYDQNZUGA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

decaf-dev commented 2 months ago

Wow! The video is great. I'm glad you're finding good use of the plugin.

It seems like "Note Splitter" doesn't translate well into Chinese. But your pronunciation is very good!!

On Sat, Aug 17, 2024, 12:47 PM Decaf Dev @.***> wrote:

Hey emisjerry. I will add this feature today.

On Sat, Aug 17, 2024, 3:37 AM emisjerry @.***> wrote:

BTW,I have a YouTube video that uses Note Splitter, maybe you'd be interested in seeing it:

https://youtu.be/Gu6B7nqUV9o

— Reply to this email directly, view it on GitHub https://github.com/decaf-dev/obsidian-note-splitter/issues/13#issuecomment-2294808740, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJTQYWZOXFBMUVO5ABGRQCTZR4KWXAVCNFSM6AAAAABMTW2WTGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJUHAYDQNZUGA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

decaf-dev commented 2 months ago

@emisjerry Added in 1.2.0.

The way I ended up implementing this behavior was adding an Append to split content setting. I thought this would be the best option for normal use cases. Please check the updated README for an explanation of the setting: https://github.com/decaf-dev/obsidian-note-splitter?tab=readme-ov-file#append-to-split-content. Cheers!

emisjerry commented 2 months ago

Thanks. I'll try it ASAP.

decaf-dev commented 2 months ago

@emisjerry Would you mind if I put a link to your video into the README documentation?

emisjerry commented 2 months ago

Sure. It's my honor.

decaf-dev commented 1 month ago

@emisjerry I just added a new setting called Remove delimiter. This is probably a more intuitive way to enable the behavior that you were describing about keeping the period in your split notes. This is now released in 1.3.0.