sundevista / local-quotes

📜 Collect your quotes from all over the vault and embed them in different locations with refresh delays
https://sundevista.github.io/local-quotes/
MIT License
40 stars 1 forks source link

What does refresh do? #17

Closed bencodesall closed 2 years ago

bencodesall commented 2 years ago

The doc simply states

🔃 Refresh intervals

refresh property uses custom moment.js like syntax. There are all possible variants (case-sensitive):

  • 10s - equals 10 seconds
  • 10m - equals 10 minutes
  • 10h - equals 10 hours
  • 2d - equals 2 days
  • 2w - equals 2 weeks
  • 2M - equals 2 months
  • 1y - equals 1 year

It is note immediately clear what this refresh refers to in the context of quotes. Perhaps the readme could provide a bit more description around that. Great stuff!

sundevista commented 2 years ago

@bencodesall Hi! Refresh interval is the time between refreshes of your quote block (change author and quote text corresponding to search field). If it's more clear description, I can add it to README.

But you can see small description in the section above "🔃 Refresh intervals" too.

isle9 commented 2 years ago

@ka1tzyu How about adding a command to manually refresh the quote inside the code block?

sundevista commented 2 years ago

@isle9 If it's your future request, create another issue and describe your idea there

sundevista commented 2 years ago

@bencodesall did you get your answer?