You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a feature request, I often use daily notes in my vault and I'd like to change their styling based on if that date is in the past or future.
For example I'd like to be able to do something like if today is 2023-10-22, then a link to 2023-10-23 would show up as red and 2023-10-21 would show up as blue.
As far as I can tell there isn't a way to do this currently. One option would be to add a way to run a javascript function for each link to determine the css class to add, although that would make caching very difficult and might be a big source of bugs.
Does this sound like something that is in scope for the plugin?
The text was updated successfully, but these errors were encountered:
Hmm, yeah this is not static. I guess this should be possible by defining a CSS attribute for the current date, but date comparisons in CSS also sound like a bit of a hassle. I don't think I would work on this in the short term, but feel free to PR.
I have a feature request, I often use daily notes in my vault and I'd like to change their styling based on if that date is in the past or future.
For example I'd like to be able to do something like if today is
2023-10-22
, then a link to2023-10-23
would show up as red and2023-10-21
would show up as blue.As far as I can tell there isn't a way to do this currently. One option would be to add a way to run a javascript function for each link to determine the css class to add, although that would make caching very difficult and might be a big source of bugs.
Does this sound like something that is in scope for the plugin?
The text was updated successfully, but these errors were encountered: