Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Plain text, made in HTML, so you can embed your custom CSS font (eg. typeset / Google Font) in the head. Include text preview in the inbox, not present in the ready made template from Mailhcimp. ref: https://kb.mailchimp.com/merge-tags/all-the-merge-tags-cheat-sheet?utm_source=mc-kb&utm_medium=kb-site&utm_campaign=eepurl
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- NAME: VERY PLAIN TEXT -->
<meta name="viewport" content="width=device-width">
<meta http-equiv="x-ua-compatible" content="IE=edge">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="https://use.typekit.net/YOUR-KIT-CODE-HERE.css">
<title>*|MC:SUBJECT|*</title>
<style type="text/css">
body{
background:#ffffff;
max-width: calc(50*18px/1.618);
margin-left: 5%;
margin-top: 5%;
font-family: sans-serif;
color: #555;
font-size: 18px;
font-weight: 300;
font-family: 'YOUR-KIT-FONT-HERE', 'Helvetica Neue', Arial, sans-serif;
line-height: 1.618;
}
.mcnPreviewText{display: none !important;
</style>
</head>
<body>
<!--*|IF:MC_PREVIEW_TEXT|*-->
<!--[if !gte mso 9]><!-- -->
<span class="mcnPreview Text" style="display:none; font-size:0px; line-height:0px; max-height:0px; max-width:0px; opacity:0; overflow:hidden; visibility:hidden; mso-hide:all;">*|MC_PREVIEW_TEXT|*</span>
<!--<![endif]-->
<!--*|END:IF|*-->
<p mc:edit="header">*|IF:FNAME|*Ciao *|FNAME|*,*|ELSE:|*Ciao,*|END:IF|*<br></p>
<div mc:edit="body">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim <a href="/">ad minim veniam</a>,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat.</p>
<h2>Lorem dolor</h2>
<p>Duis aute irure dolor in reprehenderit in voluptate velit esse <strong>cillum dolore</strong> eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<h3>Lorem</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. </p>
<h3>Ipsum</h3>
<p>Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
<br><br>
<div mc:edit="footer">
<br>*|IFNOT:ARCHIVE_PAGE|* *|LIST:DESCRIPTION|* *|END:IF|*
<br><a href="*|UPDATE_PROFILE|*">Update Your Preference</a> | <a href="*|UNSUB|*">Unsubscribe</a>
<br>*|IF:REWARDS|* *|HTML:REWARDS|* *|END:IF|*
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment