[PUBLISH] How do I set up a random note button on Publish?

What I’m trying to do

Have either a button or a link that people can click on my Publish vault to go to a random note (like the random note button).

Things I have tried

Enabling the random note core plugin. Not sure what else to try.

Questions:

  • is there a community plugin that can do this for Publish?
  • alternatively is there something that I can set up on a note called “/random” that redirects to a random note?

+1
I would also like to know this, please! I’ve seen some cooking blogs to it to take you to a random recipe, would love this feature (or to find a workaround) for my Obsidian Publish site.