Oh, crap… I really should have done that unprompted ;p

icalBuddy -npn -nrd -df "" -nc -b "- " -ps "|\t|" -po "datetime,title" -iep "datetime,title" eventsToday

Note that this is what I use right now in a bash script where I automatically put it in the clipboard for pasting - I’ve used the from: to: syntax when I was using it with templater.

Anyway, the command gives me one task on each line, but with templater they all get squished into one line.

Not that I’m an expert but can you try swapping out your -ps string for this:

I’m guessing you need a ‘\n’ new line somewhere…

I tried that. It didn’t work. It just adds an extra newline when I run it in the terminal, but both get removed in Obsidian.

Hi all,

I’ve integrated my Outlook calendr using templater and a python script:

4 Likes

whoa! impressive!

How did you do that?

I was wrong, I’m now back at my computer and have no new lines in my command either and it works fine. is it possible that it’s a setting in Obsidian itself? Like, maybe turn off the setting ‘strict line breaks’ in settings>editor ?

1 Like

Hi Kabo,

I’ll create a Github repository to share my scripts, including this one…

Regards

1 Like

That was it! Strict linebreaks was the villain, and turning it off made everything work!

1 Like

Yay! :partying_face:

Hey! Wondering if there is a link you could share to this repo? I’d love to be able to integrate my calendar as you have. Thank you!

1 Like

Would love to see this!

1 Like

What’s the best place to find instructions to get this setup running for a novice?

Do you have the link for this repo?

I would also be glad if you can share it with the community.