I use Quarto to generate my website, which includes my notes.
For the listing of my notes, I wanted a way to feature certain notes. To do that, I created a custom key-value pair in the YAML header of the note that I named spotlight, and I set the value to a star emoji ⭐:
Then, in the YAML header of the listing page, I set the fields key to include the custom key-value pair, and I hide it with a non-breaking space character:
See how it renders:
