Skip to content

Instantly share code, notes, and snippets.

@l1n
Forked from patrickcoombe/email-message.js
Created October 13, 2017 20:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save l1n/593a0104b2d925daa257142ac39c5d7f to your computer and use it in GitHub Desktop.
Save l1n/593a0104b2d925daa257142ac39c5d7f to your computer and use it in GitHub Desktop.
JSON-LD markup for rich email messages
<script type="application/ld+json">
{
"@context":"http://schema.org",
"@type": "EmailMessage",
"description": "View this Pull Request on GitHub",
"action": {
"@type": "ViewAction",
"url":"https://github.com/perma-id/w3id.org/pull/47",
"name":"View Pull Request"
}
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment