sawhney17 / logseq-smartblocks

MIT License
171 stars 12 forks source link

Or/And operations in templates #3

Closed bathrobe closed 2 years ago

bathrobe commented 2 years ago

Feature request! I imagine it's in the works but wanted to express interest.

Being able to use OR and AND in templates would be amazing.

- <% ifdayofweek = 1 || dayofweek = 2 || ... dayofweek = 5%>
   - Happy workweek
sawhney17 commented 2 years ago

yep, that definitely sounds great. I’ll try adding it later today if I get the chance. On 26 Jan 2022, 4:47 AM +0400, Joe H @.***>, wrote:

Feature request! I imagine it's in the works but wanted to express interest. Being able to use OR and AND in templates would be amazing.

  • <% ifdayofweek = 1 || dayofweek = 2 || ... dayofweek = 5%>
    • Happy workweek — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
sawhney17 commented 2 years ago

i've added this feature to the latest release