Open Graph Protocol (OGP)

The Open Graph protocol specifies what goes in <meta> attributes of the HTML which in turn generates “preview cards” for social sites and apps like X.com, Facebook, Slack, etc.

Emanote generates OGP meta tags for each note, using the following rules:

Meta tagHow the value is determined
og:titleThe title of the note
og:descriptionThe first paragraph of the note1
og:site_nameThe site name from page.siteTitle
og:typewebsite
og:imageThe first image2 in the note, if any; otherwise, use the image YAML metadata

Twitter

Twitter Card style can be set using page.twitter.card YAML metadata. It it set to summary_large_image by default.