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
  • 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