How to embed notes as cards with a preview on hover for obsidian publish

I am referring to this doc:

In the " How to use Obsidian Publish" section there are such cards, with links to other notes. What syntax do i have to use to get a similar result. I found nowhere how that works.

In non-Publish Obsidian you’d enable Settings > Core Plugins > Page Preview, so maybe that’s all you need to do? Or maybe there’s a similar setting in the Publish settings.