{"id":6564,"date":"2015-11-20T00:00:00","date_gmt":"2015-11-20T00:00:00","guid":{"rendered":"https:\/\/www.litmus.com\/blog\/the-ultimate-guide-to-using-snippets-in-email-design\/"},"modified":"2023-02-27T15:53:48","modified_gmt":"2023-02-27T20:53:48","slug":"the-ultimate-guide-to-using-snippets-in-email-design","status":"publish","type":"post","link":"https:\/\/www.litmus.com\/blog\/the-ultimate-guide-to-using-snippets-in-email-design","title":{"rendered":"The Ultimate Guide to Using Snippets in Email Design"},"content":{"rendered":"<p>Between dozens of email clients, seemingly countless rendering quirks, and changing support for HTML and CSS, coding email campaigns is complex. Unfortunately for email designers, that complexity means <a rel=\"noopener\" href=\"https:\/\/www.litmus.com\/email-design\/\">email design<\/a> is becoming more time-consuming, so we created the ultimate guide to using snippets in email design.<\/p>\n<p>At The Email Design Conference, Code School\u2019s <a rel=\"noopener\" target=\"_blank\" href=\"http:\/\/twitter.com\/dandenney\" target=\"_blank\" rel=\"noopener noreferrer\">Dan Denney<\/a> framed the problem perfectly:<\/p>\n<blockquote><p>The biggest challenge in creating emails is not Gmail&#8230;it\u2019s time.<\/p><\/blockquote>\n<p>When it comes to email design, time is of the essence and putting a development workflow in place is crucial. In order to keep up with the rapidly changing demands of email design, it\u2019s increasingly important to make your workflow as efficient as possible.<\/p>\n<p>So, what can you do to optimize your workflow? One word: <strong>Snippets<\/strong>.<\/p>\n<p>With the help of snippets, you can build emails more easily\u2014and more quickly\u2014than ever before. Spend less time building and troubleshooting emails, and more time creating better email experiences for your subscribers.<\/p>\n<h2>What are snippets?<\/h2>\n<p>Snippets are <a rel=\"noopener\" href=\"https:\/\/www.litmus.com\/blog\/email-modules-and-modular-email\/\">email modules<\/a> of reusable code you can use in an <a rel=\"noopener\" href=\"https:\/\/www.litmus.com\/blog\/what-is-an-email-template\/\">email template<\/a> or broader <a rel=\"noopener\" href=\"https:\/\/www.litmus.com\/blog\/email-design-system\/\">email design system<\/a>. They\u2019re ideal for elements that are commonly used across email designs, like doctype, <a rel=\"noopener\" href=\"https:\/\/www.litmus.com\/blog\/a-guide-to-bulletproof-buttons-in-email-design\/\">bulletproof buttons<\/a>, and links. Rather than having to re-write the code each time one of these elements is used, you can use a snippet. Using snippets automates your coding and drastically speeds up development time.<\/p>\n<h2>How to use snippets<\/h2>\n<p>Regardless of which email editor you\u2019re using to build your emails, you can use snippets to optimize your workflow. Here\u2019s a look at how to use them in the most common editors.<\/p>\n<h3>Dreamweaver<\/h3>\n<p>In Dreamweaver, you can add or edit snippets by visiting: Windows \u2192 Snippets \u2192 New\/Edit. You can even save your snippets in groups (i.e., table-related snippets, image-related snippets, etc.) for easy searching.<\/p>\n<figure id=\"post-11106 media-11106\" class=\"aligncenter\"><img decoding=\"async\" class=\"\" src=\"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/dreamweaver-snippets1.png\" alt=\"dreamweaver-snippets1\" \/><\/figure>\n<p>While coding your email, use snippets by double clicking on the snippet title, clicking insert, or using a keyboard shortcut.<\/p>\n<h3>Litmus Builder<\/h3>\n<p>Within a Builder project, click on the Snippets icon at the top right of the editor.<\/p>\n<figure id=\"post-11112 media-11112\" class=\"aligncenter\" style=\"margin-bottom: 40px;\"><img decoding=\"async\" class=\" shaded\" src=\"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/screen-shot-2014-09-09-at-4.27.22-pm.png\" alt=\"litmus-builder-snippets\" \/><\/figure>\n<p>You can create and edit new snippets within that interface, and trigger snippets within your code via keyboard shortcuts. You can also add edit points inside of the snippet using <strong>{braces}<\/strong>. Once you trigger a snippet, you can automatically jump to pre-defined edit points in the snippet for fast and easy customization.<\/p>\n<figure id=\"post-11120 media-11120\" class=\"aligncenter\" style=\"margin-bottom: 40px;\"><img decoding=\"async\" class=\" shaded\" src=\"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/builder-snippets.gif\" alt=\"builder-snippets\" \/><\/figure>\n<h3>Sublime Text<\/h3>\n<p>To view existing snippets or add new ones in Sublime Text, visit: Tools \u2192 Snippets\/New Snippet. Each snippet is saved in its own .sublime-snippet file.<\/p>\n<p>Add snippets into your code through keyboard shortcut triggers. For example, in the code below, the snippet is triggered when \u201chello\u201d is typed within the code. You can also add edit points inside of the snippet using dollar signs in sequential order (<strong>$1<\/strong>, <strong>$2<\/strong>, etc.).<\/p>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0 40px 0;\">&lt;snippet&gt;\n  &lt;content&gt;&lt;![CDATA[\n  \/* Insert snippet here *\/\n  ]]&gt;&lt;\/content&gt;\n  &lt;!-- Optional: Set a tabTrigger to define how to trigger the snippet --&gt;\n  &lt;!-- &lt;tabTrigger&gt;hello&lt;\/tabTrigger&gt; --&gt;\n  &lt;!-- Optional: Set a scope to limit where the snippet will trigger --&gt;\n  &lt;!-- &lt;scope&gt;source.python&lt;\/scope&gt; --&gt;\n&lt;\/snippet&gt;\n<\/code><\/pre>\n<figure id=\"post-11108 media-11108\" class=\"aligncenter\" style=\"margin-bottom: 40px;\"><img decoding=\"async\" class=\" shaded\" src=\"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/sublime-snippets.gif\" alt=\"sublime-snippets\" \/><\/figure>\n<h3>Atom<\/h3>\n<p>View, edit, or add snippets in Atom by visiting: Atom \u2192 Open Your Snippets. Each snippet is saved as its own snippets.cson file.<\/p>\n<p>Similar to Sublime Text, snippets in Atom work via a keyboard shortcut trigger. You can also add edit points inside of the snippet using dollar signs in sequential order (<strong>$1<\/strong>, <strong>$2<\/strong>, etc.).<\/p>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0 40px 0;\">'Name':\n'prefix': 'tabtrigger'\n'body': \"\"\"\n\/* Insert snippet here *\/\n    \"\"\"\n<\/code><\/pre>\n<figure id=\"post-11110 media-11110\" class=\"aligncenter\" style=\"margin-bottom: 40px;\"><img decoding=\"async\" class=\" shaded\" src=\"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/atom-snippets.gif\" alt=\"atom-snippets\" \/><\/figure>\n<h3>Coda<\/h3>\n<p>Snippets in Coda are referred to as \u201cClips.\u201d To add or edit a clip, visit: Sidebar \u2192 Clips. Clips can be saved in groups, and they work on a keyboard shortcut trigger. You can also add edit points inside of the snippet by defining custom placeholder points in the UI.<\/p>\n<figure id=\"post-11112 media-11112\" class=\"aligncenter\" style=\"margin-bottom: 40px;\"><img decoding=\"async\" class=\" shaded\" src=\"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/coda-snippets1.png\" alt=\"coda-snippets1\" \/><\/figure>\n<h2>Snippet library<\/h2>\n<p>Within each editor you can create a library of your snippets. Everything within the library should be up-to-date and pre-tested. As the world of email constantly changes, be sure to frequently test your snippets and add new ones when necessary.<\/p>\n<p>While there are many more, we&#8217;ve assembled a comprehensive list of some of our favorite out-of-the-box snippets to use for email development. Feel free to add them to your snippet library!<\/p>\n<h3>Doctype<\/h3>\n<p>A doctype tells an email client to render an email in standards or quirks mode. There are two recommended forms of doctypes to use for email. The first is the HTML5 doctype:<\/p>\n<h4>HTML5<\/h4>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">&lt;!doctype html&gt;\n<\/code><\/pre>\n<h4>XHTML<\/h4>\n<p>The second is the XHTML doctype:<\/p>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">&lt;!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD XHTML 1.0 Transitional \/\/EN\" \"http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-transitional.dtd\"&gt;\n<\/code><\/pre>\n<p>Campaign Monitor breaks down <a rel=\"noopener\" target=\"_blank\" href=\"https:\/\/www.campaignmonitor.com\/blog\/email-marketing\/2014\/08\/html5-vs-xhtml1-the-right-doctype-to-use-in-html-email\/\" target=\"_blank\" rel=\"noopener noreferrer\">which HTML doctypes<\/a> are good to use, and there\u2019s a <a rel=\"noopener\" href=\"https:\/\/litmus.com\/community\/discussions\/1470-what-html-doctype-do-you-use-and-why?utm_campaign=bestpractices_snippets&amp;utm_source=litmusblog&amp;utm_medium=blog\" target=\"_blank\" rel=\"noopener noreferrer\">great discussion about it on the Litmus Community<\/a>, too. If you don&#8217;t specify a doctype for your email, email clients will render the email in &#8220;quirks mode&#8221; which may result in rendering issues.<\/p>\n<h3>Meta Tag<\/h3>\n<p>If you&#8217;re coding your email to be responsive, there are several key meta tags that you should include.<\/p>\n<h4>UTF-8<\/h4>\n<p>The first recommended meta tag sets the character encoding to utf-8, which is the typical encoding for an email. This can be changed if necessary.<\/p>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">&lt;meta http-equiv=\"Content-Type\" content=\"text\/html;\" charset=\"utf-8\" \/&gt;\n<\/code><\/pre>\n<h4>Viewport<\/h4>\n<p>The second recommended meta tag sets the responsiveness for the email.<\/p>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" \/&gt;<\/code><\/pre>\n<h4>Windows Phone<\/h4>\n<p>The third recommended meta tag is specifically to make the email responsive on Windows Phone.<\/p>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">&lt;meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" \/&gt;<\/code><\/pre>\n<h3>Tables<\/h3>\n<p>HTML emails use tables to structure content. Tables can be quite tedious to code by hand, so we&#8217;ve developed basic snippets for simple table layouts.<\/p>\n<h4>Table 1&#215;1<\/h4>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">&lt;table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"{width}\" align=\"{align}\" style=\"{style}\"&gt;\n  &lt;tr&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n  &lt;\/tr&gt;\n&lt;\/table&gt;\n<\/code><\/pre>\n<h4>Table 2&#215;1<\/h4>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">&lt;table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"{width}\" align=\"{align}\" style=\"{style}\"&gt;\n  &lt;tr&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n  &lt;\/tr&gt;\n&lt;\/table&gt;\n<\/code><\/pre>\n<h4>Table 3&#215;1<\/h4>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">&lt;table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"{width}\" align=\"{align}\" style=\"{style}\"&gt;\n  &lt;tr&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n  &lt;\/tr&gt;\n&lt;\/table&gt;\n<\/code><\/pre>\n<h4>Table 2&#215;2<\/h4>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">&lt;table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"{width}\" align=\"{align}\" style=\"{style}\"&gt;\n  &lt;tr&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n  &lt;\/tr&gt;\n  &lt;tr&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n  &lt;\/tr&gt;\n&lt;\/table&gt;\n<\/code><\/pre>\n<h4>Table 2&#215;3<\/h4>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">&lt;table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"{width}\" align=\"{align}\" style=\"{style}\"&gt;\n  &lt;tr&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n  &lt;\/tr&gt;\n  &lt;tr&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n  &lt;\/tr&gt;\n  &lt;tr&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n  &lt;\/tr&gt;\n&lt;\/table&gt;\n<\/code><\/pre>\n<h4>Table 3&#215;2<\/h4>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">&lt;table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"{width}\" align=\"{align}\" style=\"{style}\"&gt;\n  &lt;tr&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n  &lt;\/tr&gt;\n  &lt;tr&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n  &lt;\/tr&gt;\n&lt;\/table&gt;\n<\/code><\/pre>\n<h4>Table 3&#215;3<\/h4>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">&lt;table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"{width}\" align=\"{align}\" style=\"{style}\"&gt;\n  &lt;tr&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n  &lt;\/tr&gt;\n  &lt;tr&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n  &lt;\/tr&gt;\n  &lt;tr&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n    &lt;td align=\"{align}\" style=\"{style}\"&gt;{content}&lt;\/td&gt;\n  &lt;\/tr&gt;\n&lt;\/table&gt;\n<\/code><\/pre>\n<h3>Bulletproof Buttons<\/h3>\n<p>Creating buttons in email is quite the hassle thanks to <a rel=\"noopener\" href=\"https:\/\/www.litmus.com\/blog\/a-guide-to-bulletproof-buttons-in-email-design\/\">Outlook rendering<\/a> quirks. There are four recommended types of bulletproof buttons, which display regardless of whether or not images are present.<\/p>\n<h4>VML Button<\/h4>\n<p>The first bulletproof button method was developed by <a rel=\"noopener\" target=\"_blank\" href=\"http:\/\/twitter.com\/stigm\">Stig Morten Myre<\/a> from Campaign Monitor and is a VML-based button approach:<\/p>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">&lt;div&gt;\n  &lt;!--[if mso]&gt;\n    &lt;v:roundrect xmlns_v=\"urn:schemas-microsoft-com:vml\" xmlns_w=\"urn:schemas-microsoft-com:office:word\" rel=\"noopener\" target=\"_blank\" href=\"{link}\" style=\"height:{height}px;v-text-anchor:middle;width:{width}px;\" arcsize=\"{arcsize}%\" strokecolor=\"#{strokecolor}\" fillcolor=\"{fillcolor}\"&gt;\n      &lt;w:anchorlock\/&gt;\n        &lt;center style=\"color:#{color};font-family:{font};font-size:{font-size}px;\"&gt;{button text}&lt;\/center&gt;\n    &lt;\/v:roundrect&gt;\n  &lt;![endif]--&gt;\n  &lt;a rel=\"noopener\" target=\"_blank\" href=\"{link}\" style=\"background-color:#{bgcolor};border:{border};border-radius:{border-radius};color:#{color};display:{display};font-family:{font};font-size:{font-size}px;line-height:{line-height}px;text-align:{align};text-decoration:{decoration};width:{width}px;-webkit-text-size-adjust:none;mso-hide:all;\"&gt;{button text}&lt;\/a&gt;\n&lt;\/div&gt;<\/code><\/pre>\n<p>Campaign Monitor has also created <a rel=\"noopener\" target=\"_blank\" href=\"http:\/\/buttons.cm\" target=\"_blank\" rel=\"noopener noreferrer\">buttons.cm<\/a>, a simple tool to generate the VML-button code above.<\/p>\n<h4>Padding-Based Button<\/h4>\n<p>The second method is a live text approach with a padding-based button:<\/p>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">&lt;table border=\"0\" cellspacing=\"0\" cellpadding=\"0\"&gt;\n  &lt;tr&gt;\n    &lt;td bgcolor=\"#{bgcolor}\" style=\"padding: {padding}; border-radius:{border-radius};\" align=\"{align}\"&gt;\n      &lt;a rel=\"noopener\" target=\"_blank\" href=\"{link}\" target=\"_blank\" style=\"font-size: {font-size}px; font-family: {font}; color: #{color}; text-decoration: {decoration}; display: {display};\"&gt;{button text}&lt;\/a&gt;\n    &lt;\/td&gt;\n  &lt;\/tr&gt;\n&lt;\/table&gt;<\/code><\/pre>\n<p>The main downside to this button is that it\u2019s not 100% clickable.<\/p>\n<h4>Border-Based Button<\/h4>\n<p>The third bulletproof button method involves creating a border around the link to make a large clickable area:<\/p>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">&lt;table border=\"0\" cellspacing=\"0\" cellpadding=\"0\"&gt;\n  &lt;tr&gt;\n    &lt;td&gt;\n      &lt;a rel=\"noopener\" target=\"_blank\" href=\"{link}\" target=\"_blank\" style=\"font-size: {font-size}px; font-family: {font}; color: #{color}; text-decoration: {decoration}; border-radius: {border-radius}px; -webkit-border-radius: {webkit-border-radius}px; background-color: #{bgcolor}; border-top: {border-top}; border-bottom: {border-bottom}; border-right: {border-right}; border-left: {border-left}; display: inline-block;\"&gt;{button text}&lt;\/a&gt;\n    &lt;\/td&gt;\n  &lt;\/tr&gt;\n&lt;\/table&gt;<\/code><\/pre>\n<p>The key downside to this method is that Outlook 2007-2013 does not respect border widths on link tags, so it does cause some reduction in the artificial padding of the button.<\/p>\n<h4>Padding+Border-Based Button<\/h4>\n<p>The final method involves a combination of the padding and border buttons:<\/p>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">&lt;table border=\"0\" cellspacing=\"0\" cellpadding=\"0\"&gt;\n  &lt;tr&gt;\n    &lt;td align=\"{align}\" style=\"border-radius: {border-radius}px;\" bgcolor=\"#{bgcolor}\"&gt;\n      &lt;a rel=\"noopener\" target=\"_blank\" href=\"{link}\" target=\"_blank\" style=\"font-size: {font-size}px; font-family: {font}; color: #{color}; text-decoration: {decoration}; border-radius: {border-radius}px; padding: {padding}; border: {border}; display: inline-block;\"&gt;{button text}&lt;\/a&gt;\n    &lt;\/td&gt;\n  &lt;\/tr&gt;\n&lt;\/table&gt;<\/code><\/pre>\n<p>This hack is used to avoid the padding rendering issues in Outlook.<\/p>\n<h3>Images<\/h3>\n<p>There are numerous key factors to consider when using images in email. For example, you must define the height and width in HTML attributes for images to render correctly in Outlook. And, using <a rel=\"noopener\" href=\"https:\/\/litmus.com\/blog\/the-ultimate-guide-to-styled-alt-text-in-email?utm_campaign=bestpractices_snippets&amp;utm_source=litmusblog&amp;utm_medium=blog\" target=\"_blank\" rel=\"noopener noreferrer\">ALT text<\/a> is extremely important not only for accessibility purposes, but since <a rel=\"noopener\" href=\"https:\/\/litmus.com\/blog\/gmail-data-analysis-reveals-image-blocking-affects-43-of-emails?utm_campaign=bestpractices_snippets&amp;utm_source=litmusblog&amp;utm_medium=blog\" target=\"_blank\" rel=\"noopener noreferrer\">43% of users view email with images off<\/a>. Finally, to prevent extra padding and gaps around images, you should set them to display:block;.<\/p>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">&lt;img src=\"{src}\" width=\"{width}\" height=\"{height}\" border=\"0\" alt=\"{alt}\" style=\"{style}; display: block; border: 0px;\"\/&gt;<\/code><\/pre>\n<h3>Links<\/h3>\n<h4>Basic Link<\/h4>\n<p>When using a link in an email, you\u2019ll need to set inline styles on it, such as font-size, font-family, and text-decoration. Here\u2019s a simple snippet that has these inline styles already in place:<\/p>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">&lt;a rel=\"noopener\" href=\"#\" style=\"{style}\"&gt;{style}&lt;\/a&gt;<\/code><\/pre>\n<h4>Remove Blue Links on iOS<\/h4>\n<p>There are several strategies to <a rel=\"noopener\" href=\"https:\/\/litmus.com\/blog\/update-banning-blue-links-on-ios-devices?utm_campaign=bestpractices_snippets&amp;utm_source=litmusblog&amp;utm_medium=blog\" target=\"_blank\" rel=\"noopener noreferrer\">removing blue links on iOS<\/a>, but here\u2019s a simple snippet that has uses a single CSS declaration to do so:<\/p>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">a[x-apple-data-detectors] {\n  color: inherit !important;\n  text-decoration: none !important;\n  font-size: inherit !important;\n  font-family: inherit !important;\n  font-weight: inherit !important;\n  line-height: inherit !important;\n}\n<\/code><\/pre>\n<h3>Hidden Preheader\/Preview Text<\/h3>\n<p><a rel=\"noopener\" href=\"https:\/\/litmus.com\/blog\/the-ultimate-guide-to-preview-text-support?utm_campaign=bestpractices_snippets&amp;utm_source=litmusblog&amp;utm_medium=blog\" target=\"_blank\" rel=\"noopener noreferrer\">Preheader or preview text<\/a> is copy pulled in from the body of your email that is typically displayed underneath the from name and subject line in a subscriber\u2019s inbox. Using hidden preheader text is a way to define the copy used, and prevent it from impacting the actual design of the email.<\/p>\n<p>Here\u2019s the snippet:<\/p>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">&lt;div style=\"display:none;font-size:1px;color:#{color};line-height:1px;font-family:{font};max-height:0px;max-width:0px;opacity:0;overflow:hidden;mso-hide:all;\"&gt;\n  {preheader text}\n&lt;\/div&gt;<\/code><\/pre>\n<h3>Media Queries<\/h3>\n<p>Media queries are a component of cascading style sheets (CSS), the language used to style websites and email campaigns. With media queries, you can fine-tune email designs so that they are more usable across mobile, desktop, and webmail inboxes.<\/p>\n<p>Here\u2019s a list of all the important media queries you\u2019ll need when designing emails:<\/p>\n<h4>Base Media Query<\/h4>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">@media screen and ({declaration}) {\n  {content}\n}\n<\/code><\/pre>\n<h4>Max-Width Media Query<\/h4>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">@media screen and (max-width: {width}) {\n  {content}\n}\n<\/code><\/pre>\n<h4>Min-Width Media Query<\/h4>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">@media screen and (min-width: {width}) {\n  {content}\n}\n<\/code><\/pre>\n<h4>iPad 1 &amp; 2 + iPad Mini Media Query<\/h4>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">@media screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {\n  {style}\n}\n<\/code><\/pre>\n<h4>iPad 3 &amp; 4 Media Query<\/h4>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">@media screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {\n  {style}\n}\n<\/code><\/pre>\n<h4>iPhone 2G\/3G\/3GS Media Query<\/h4>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">@media screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 1) {\n  {style}\n}\n<\/code><\/pre>\n<h4>iPhone 4\/4S\/5\/iPhone 6 (zoom view) Media Query<\/h4>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">@media screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) {\n  {style}\n}\n<\/code><\/pre>\n<h4>HTC ONE + SAMSUNG GALAXY S4\/S5 Media Query<\/h4>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">@media screen and (device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3) {\n  {style}\n}\n<\/code><\/pre>\n<h4>iPhone 6 (standard view) + iPhone 6 Plus (zoom view) Media Query<\/h4>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">@media screen and (max-device-width: 375px) and (max-device-height: 667px) {\n  {style}\n}\n<\/code><\/pre>\n<h4>iPhone 6 Plus (standard view) Media Query<\/h4>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">@media screen and (max-device-width: 414px) and (max-device-height: 776px) {\n  {style}\n}\n<\/code><\/pre>\n<h3>Outlook Conditional Comments<\/h3>\n<p>With the plethora of rendering issues that comes with having to support Outlook, it is sometimes useful to target Outlook with specific styles. Outlook can be <a rel=\"noopener\" href=\"https:\/\/litmus.com\/community\/learning\/8-outlook-overview?utm_campaign=bestpractices_snippets&amp;utm_source=litmusblog&amp;utm_medium=blog\" target=\"_blank\" rel=\"noopener noreferrer\">targeted using conditional mso comments<\/a> for either HTML or CSS content.<\/p>\n<h4>Microsoft Word rendering<\/h4>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">&lt;!--[if mso]&gt;\n  {content}\n&lt;![endif]--&gt;\n<\/code><\/pre>\n<h4>Outlook 2000-2013<\/h4>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">&lt;!--[if (gte mso 9)|(IE)]&gt;\n  {content}\n&lt;![endif]--&gt;\n<\/code><\/pre>\n<p>More Outlook conditional comments:<\/p>\n<ul>\n<li><a rel=\"noopener\" href=\"https:\/\/litmus.com\/community\/snippets\/58-outlook-2000-targeting?utm_campaign=bestpractices_snippets&amp;utm_source=litmusblog&amp;utm_medium=blog\" target=\"_blank\" rel=\"noopener noreferrer\">Outlook 2000<\/a><\/li>\n<li><a rel=\"noopener\" href=\"https:\/\/litmus.com\/community\/snippets\/59-outlook-2000-2002-targeting?utm_campaign=bestpractices_snippets&amp;utm_source=litmusblog&amp;utm_medium=blog\" target=\"_blank\" rel=\"noopener noreferrer\">Outlook 2000-2002<\/a><\/li>\n<li><a rel=\"noopener\" href=\"https:\/\/litmus.com\/community\/snippets\/60-outlook-2000-2003-targeting?utm_campaign=bestpractices_snippets&amp;utm_source=litmusblog&amp;utm_medium=blog\" target=\"_blank\" rel=\"noopener noreferrer\">Outlook 2000-2003<\/a><\/li>\n<li><a rel=\"noopener\" href=\"https:\/\/litmus.com\/community\/snippets\/61-outlook-2000-2007-targeting?utm_campaign=bestpractices_snippets&amp;utm_source=litmusblog&amp;utm_medium=blog\" target=\"_blank\" rel=\"noopener noreferrer\">Outlook 2000-2007<\/a><\/li>\n<li><a rel=\"noopener\" href=\"https:\/\/litmus.com\/community\/snippets\/62-outlook-2000-2010-targeting?utm_campaign=bestpractices_snippets&amp;utm_source=litmusblog&amp;utm_medium=blog\" target=\"_blank\" rel=\"noopener noreferrer\">Outlook 2000-2010<\/a><\/li>\n<li><a rel=\"noopener\" href=\"https:\/\/litmus.com\/community\/snippets\/64-outlook-2002-targeting?utm_campaign=bestpractices_snippets&amp;utm_source=litmusblog&amp;utm_medium=blog\" target=\"_blank\" rel=\"noopener noreferrer\">Outlook 2002<\/a><\/li>\n<li><a rel=\"noopener\" href=\"https:\/\/litmus.com\/community\/snippets\/65-outlook-2002-2013-targeting?utm_campaign=bestpractices_snippets&amp;utm_source=litmusblog&amp;utm_medium=blog\" target=\"_blank\" rel=\"noopener noreferrer\">Outlook 2002-2013<\/a><\/li>\n<li><a rel=\"noopener\" href=\"https:\/\/litmus.com\/community\/snippets\/66-outlook-2003-targeting?utm_campaign=bestpractices_snippets&amp;utm_source=litmusblog&amp;utm_medium=blog\" target=\"_blank\" rel=\"noopener noreferrer\">Outlook 2003<\/a><\/li>\n<li><a rel=\"noopener\" href=\"https:\/\/litmus.com\/community\/snippets\/67-outlook-2003-2103-targeting?utm_campaign=bestpractices_snippets&amp;utm_source=litmusblog&amp;utm_medium=blog\" target=\"_blank\" rel=\"noopener noreferrer\">Outlook 2003-2013<\/a><\/li>\n<li><a rel=\"noopener\" href=\"https:\/\/litmus.com\/community\/snippets\/68-outlook-2007-2013-targeting?utm_campaign=bestpractices_snippets&amp;utm_source=litmusblog&amp;utm_medium=blog\" target=\"_blank\" rel=\"noopener noreferrer\">Outlook 2007-2013<\/a><\/li>\n<li><a rel=\"noopener\" href=\"https:\/\/litmus.com\/community\/snippets\/69-outlook-2010-targeting?utm_campaign=bestpractices_snippets&amp;utm_source=litmusblog&amp;utm_medium=blog\" target=\"_blank\" rel=\"noopener noreferrer\">Outlook 2010<\/a><\/li>\n<li><a rel=\"noopener\" href=\"https:\/\/litmus.com\/community\/snippets\/70-outlook-2010-2013-targeting?utm_campaign=bestpractices_snippets&amp;utm_source=litmusblog&amp;utm_medium=blog\" target=\"_blank\" rel=\"noopener noreferrer\">Outlook 2010-2013<\/a><\/li>\n<li><a rel=\"noopener\" href=\"https:\/\/litmus.com\/community\/snippets\/71-outlook-2013-targeting?utm_campaign=bestpractices_snippets&amp;utm_source=litmusblog&amp;utm_medium=blog\" target=\"_blank\" rel=\"noopener noreferrer\">Outlook 2013<\/a><\/li>\n<\/ul>\n<h3>WebKit<\/h3>\n<p>One of the best ways to progressively enhance your email is by targeting WebKit rendering engines. Approximately 47% of email opens occur in inboxes powered by WebKit.<\/p>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">@media screen and (-webkit-min-device-pixel-ratio: {value}) { \n  {style}\n}\n<\/code><\/pre>\n<h3>Gmail<\/h3>\n<p>Gmail does not support classes or id\u2019s in the &lt;head&gt; of emails, which is why CSS must be inlined in email. However, Justin Khoo of FreshInbox <a rel=\"noopener\" target=\"_blank\" href=\"http:\/\/freshinbox.com\/blog\/interactive-emails-in-gmail-using-css-attribute-selectors\/\" target=\"_blank\" rel=\"noopener noreferrer\">discovered a new hack<\/a> in which Gmail will read CSS in the of emails.<\/p>\n<p>If you use the lang or title attribute as an attribute selector whose value is in a list of white-space separated values one of which is an exact match, Gmail will read that CSS. That\u2019s a mouthful, so here\u2019s a snippet to help you out:<\/p>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">* [lang~=\"{name}\"] {\n  {style}\n}<\/code><\/pre>\n<h3>Yahoo<\/h3>\n<p>Yahoo Mail recently <a rel=\"noopener\" target=\"_blank\" href=\"http:\/\/freshinbox.com\/blog\/yahoo-mail-fixes-media-query-bug-yahoo\/\" target=\"_blank\" rel=\"noopener noreferrer\">introduced its own unique media query<\/a>, allowing us to easily target certain styling for the webmail.<\/p>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">@media yahoo {\n  {style}\n}<\/code><\/pre>\n<h3>Android<\/h3>\n<p>James White recently posted on the Litmus Community a hack to <a rel=\"noopener\" href=\"https:\/\/litmus.com\/community\/code\/4194-why-is-email-not-centered-on-android-4-4?utm_campaign=bestpractices_snippets&amp;utm_source=litmusblog&amp;utm_medium=blog#comment-5727\" target=\"_blank\" rel=\"noopener noreferrer\">center emails on Android 4.4<\/a>.<\/p>\n<pre><code style=\"background: #333; color: #fff; margin: 20px 0;\">body { margin:0 !important; }\ndiv[style*=\"margin: 16px 0\"] { margin:0 !important; }<\/code><\/pre>\n<h2>Snippets in Community<\/h2>\n<p>Want even more snippets? Have some favorites you\u2019d like to share? With the help of email geeks everywhere, we already have <a rel=\"noopener\" href=\"https:\/\/litmus.com\/community\/snippets?utm_campaign=bestpractices_snippets&amp;utm_source=litmusblog&amp;utm_medium=blog\" target=\"_blank\" rel=\"noopener noreferrer\">dozens of useful snippets<\/a>, such as the code to remove blue links on iOS devices, in the Litmus Community.<\/p>\n<p>Sort existing snippets by the email client it was created for, or the type of snippet (i.e., hack, image, link, etc.). You can add your own, and create a snippet library of your favorites. And, you can save even more time by importing snippets from Community directly into Builder. Coupled with Builder\u2019s Instant Previews, coding with snippets might be the fastest way to make amazing email campaigns.<\/p>\n<p><a class=\"btn medium orange\" style=\"color: #fff; font-size: 16px; font-weight: bold;\" rel=\"noopener\" href=\"https:\/\/litmus.com\/community\/snippets?utm_campaign=bestpractices_snippets&amp;utm_source=litmusblog&amp;utm_medium=blog\">Check out snippets in Community \u2192<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When it comes to email design, time is of the essence and putting a development workflow in place is crucial. In order to keep up with the rapidly changing demands of email design, it\u2019s increasingly important to make your workflow as efficient as possible. So, what can you do to optimize your workflow? One word: Snippets.<\/p>\n","protected":false},"author":3,"featured_media":6565,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"tags":[1163,9805],"blog_category":[53],"class_list":["post-6564","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","tag-snippets","tag-text","blog_category-tips-resources"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.5 (Yoast SEO v27.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>The Ultimate Guide to Using Snippets in Email Design - Litmus<\/title>\n<meta name=\"description\" content=\"When it comes to email design, time is of the essence and putting a development workflow in place is crucial. In order to keep up with the rapidly changing demands of email design, it\u2019s increasingly important to make your workflow as efficient as possible. So, what can you do to optimize your workflow? One word: Snippets.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.litmus.com\/blog\/the-ultimate-guide-to-using-snippets-in-email-design\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The Ultimate Guide to Using Snippets in Email Design\" \/>\n<meta property=\"og:description\" content=\"When it comes to email design, time is of the essence and putting a development workflow in place is crucial. In order to keep up with the rapidly changing demands of email design, it\u2019s increasingly important to make your workflow as efficient as possible. So, what can you do to optimize your workflow? One word: Snippets.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.litmus.com\/blog\/the-ultimate-guide-to-using-snippets-in-email-design\" \/>\n<meta property=\"og:site_name\" content=\"Litmus\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/litmusapp\" \/>\n<meta property=\"article:published_time\" content=\"2015-11-20T00:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-27T20:53:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/featured-image-snippets4.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2000\" \/>\n\t<meta property=\"og:image:height\" content=\"880\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@litmusapp\" \/>\n<meta name=\"twitter:site\" content=\"@litmusapp\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"The Ultimate Guide to Using Snippets in Email Design - Litmus","description":"When it comes to email design, time is of the essence and putting a development workflow in place is crucial. In order to keep up with the rapidly changing demands of email design, it\u2019s increasingly important to make your workflow as efficient as possible. So, what can you do to optimize your workflow? One word: Snippets.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.litmus.com\/blog\/the-ultimate-guide-to-using-snippets-in-email-design","og_locale":"en_US","og_type":"article","og_title":"The Ultimate Guide to Using Snippets in Email Design","og_description":"When it comes to email design, time is of the essence and putting a development workflow in place is crucial. In order to keep up with the rapidly changing demands of email design, it\u2019s increasingly important to make your workflow as efficient as possible. So, what can you do to optimize your workflow? One word: Snippets.","og_url":"https:\/\/www.litmus.com\/blog\/the-ultimate-guide-to-using-snippets-in-email-design","og_site_name":"Litmus","article_publisher":"https:\/\/www.facebook.com\/litmusapp","article_published_time":"2015-11-20T00:00:00+00:00","article_modified_time":"2023-02-27T20:53:48+00:00","og_image":[{"width":2000,"height":880,"url":"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/featured-image-snippets4.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_creator":"@litmusapp","twitter_site":"@litmusapp","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.litmus.com\/blog\/the-ultimate-guide-to-using-snippets-in-email-design#article","isPartOf":{"@id":"https:\/\/www.litmus.com\/blog\/the-ultimate-guide-to-using-snippets-in-email-design"},"author":{"name":"","@id":""},"headline":"The Ultimate Guide to Using Snippets in Email Design","datePublished":"2015-11-20T00:00:00+00:00","dateModified":"2023-02-27T20:53:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.litmus.com\/blog\/the-ultimate-guide-to-using-snippets-in-email-design"},"wordCount":1687,"commentCount":0,"publisher":{"@id":"https:\/\/www.litmus.com\/#organization"},"image":{"@id":"https:\/\/www.litmus.com\/blog\/the-ultimate-guide-to-using-snippets-in-email-design#primaryimage"},"thumbnailUrl":"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/featured-image-snippets4.png","keywords":["Snippets","Text"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.litmus.com\/blog\/the-ultimate-guide-to-using-snippets-in-email-design#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.litmus.com\/blog\/the-ultimate-guide-to-using-snippets-in-email-design","url":"https:\/\/www.litmus.com\/blog\/the-ultimate-guide-to-using-snippets-in-email-design","name":"The Ultimate Guide to Using Snippets in Email Design - Litmus","isPartOf":{"@id":"https:\/\/www.litmus.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.litmus.com\/blog\/the-ultimate-guide-to-using-snippets-in-email-design#primaryimage"},"image":{"@id":"https:\/\/www.litmus.com\/blog\/the-ultimate-guide-to-using-snippets-in-email-design#primaryimage"},"thumbnailUrl":"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/featured-image-snippets4.png","datePublished":"2015-11-20T00:00:00+00:00","dateModified":"2023-02-27T20:53:48+00:00","description":"When it comes to email design, time is of the essence and putting a development workflow in place is crucial. In order to keep up with the rapidly changing demands of email design, it\u2019s increasingly important to make your workflow as efficient as possible. So, what can you do to optimize your workflow? One word: Snippets.","breadcrumb":{"@id":"https:\/\/www.litmus.com\/blog\/the-ultimate-guide-to-using-snippets-in-email-design#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.litmus.com\/blog\/the-ultimate-guide-to-using-snippets-in-email-design"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.litmus.com\/blog\/the-ultimate-guide-to-using-snippets-in-email-design#primaryimage","url":"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/featured-image-snippets4.png","contentUrl":"https:\/\/www.litmus.com\/wp-content\/uploads\/2020\/04\/featured-image-snippets4.png","width":2000,"height":880},{"@type":"BreadcrumbList","@id":"https:\/\/www.litmus.com\/blog\/the-ultimate-guide-to-using-snippets-in-email-design#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.litmus.com\/"},{"@type":"ListItem","position":2,"name":"The Ultimate Guide to Using Snippets in Email Design"}]},{"@type":"WebSite","@id":"https:\/\/www.litmus.com\/#website","url":"https:\/\/www.litmus.com\/","name":"Litmus","description":"Are you getting the most out of your email marketing?","publisher":{"@id":"https:\/\/www.litmus.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.litmus.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.litmus.com\/#organization","name":"Litmus Software","url":"https:\/\/www.litmus.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.litmus.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.litmus.com\/wp-content\/uploads\/2025\/04\/featured-image.png","contentUrl":"https:\/\/www.litmus.com\/wp-content\/uploads\/2025\/04\/featured-image.png","width":600,"height":314,"caption":"Litmus Software"},"image":{"@id":"https:\/\/www.litmus.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/litmusapp","https:\/\/x.com\/litmusapp"]},{"@type":"Person","@id":""}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/www.litmus.com\/wp-json\/wp\/v2\/posts\/6564","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.litmus.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.litmus.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.litmus.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.litmus.com\/wp-json\/wp\/v2\/comments?post=6564"}],"version-history":[{"count":2,"href":"https:\/\/www.litmus.com\/wp-json\/wp\/v2\/posts\/6564\/revisions"}],"predecessor-version":[{"id":61015,"href":"https:\/\/www.litmus.com\/wp-json\/wp\/v2\/posts\/6564\/revisions\/61015"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.litmus.com\/wp-json\/wp\/v2\/media\/6565"}],"wp:attachment":[{"href":"https:\/\/www.litmus.com\/wp-json\/wp\/v2\/media?parent=6564"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.litmus.com\/wp-json\/wp\/v2\/tags?post=6564"},{"taxonomy":"blog_category","embeddable":true,"href":"https:\/\/www.litmus.com\/wp-json\/wp\/v2\/blog_category?post=6564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}