Vaccarini-Lorenzo / MagicCalendar

An obsidian plugin that exploit a natural language processing engine to find potential events and sync them with iCalendar
MIT License
85 stars 0 forks source link

[Suggestion] keyword/key symbol for literal events #33

Closed paraversal closed 10 months ago

paraversal commented 1 year ago

Hi! This project is really cool. I was wondering whether it was possible to implement a second mode of event input where, if you start a line with a specific character/keyword, it will use the whole line as the event title. So currently, if you put in, say "❗Lecture Quiz 10 next tue", the event will just be "lecture quiz". My idea was that, say we set "&" as the key symbol, "❗Lecture Quiz 10 next tue" would still be "lecture quiz", but "&❗Lecture Quiz 10 next tue" would be "❗Lecture Quiz 10". Looking forward to your reply.

Vaccarini-Lorenzo commented 1 year ago

Hi there, thank you for opening this issue: Every feedback and suggestion is much appreciated! The feature you're suggesting is surely feasible (fun fact: one of the very first versions of the project worked just like that) and I'll implement it as soon as possible. Unfortunately, at the moment I'm very busy and I don't know when I'll have the chance to work on it, I'll keep you posted! Lorenzo

Vaccarini-Lorenzo commented 1 year ago

Hi @paraversal, I had a spare hour and tried a quick demo implementation. Is this what you had in mind?

If you want to try it just clone the custom_symbol_development branch! Lorenzo

Vaccarini-Lorenzo commented 1 year ago

Hey there, the beta feature has been implemented in the 1.1.9 version. Feel free to give me feedback. Lorenzo

Vaccarini-Lorenzo commented 10 months ago

Close due to inactivity. Feel free to reopen it if anything changes.