How to restore favorites on the left sidebar

In the past couple of months, I accidentally deleted favorites.md. Now I cannot add any page to favorites. Can anyone let me know how to restore it?

Welcome. Have you recently updated from an old version?

  • For a long time now, file favorites.md is not created anymore.
  • Favorites are instead saved inside file config.edn (search for favorites there).
  • Pages are added/removed to/from FAVORITES on the left sidebar (and thus to/from config.edn) through right-clicking on the page’s title.