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 tag | How the value is determined |
|---|---|
og:title | The title of the note |
og:description | The first paragraph of the note1 |
og:site_name | The site name from page.siteTitle |
og:type | website |
og:image | The first image2 in the note, if any; otherwise, use the image YAML metadata |
Twitter Card style can be set using page.twitter.card YAML metadata. It it set to summary_large_image by default.