@yalcin wished for the YAML frontmatter to be shown on link previews if
- Settings → Core plugins → Page preview is enabled, and
- Settings → Editor → Show frontmatter is enabled
He also wanted this feature to be switchable.
Solution in Display front-matter on hover preview.
Result: