Mailchimp-ready HTML email template snippets for VS Code. Build responsive email campaigns faster with 25+ snippets for layouts, merge tags, conditional blocks, and campaign structures.
Snippets
Type mc- in any HTML file to see all available snippets.
Templates
Prefix
Description
mc-template
Complete responsive email campaign template
mc-two-column
Responsive two-column layout section
mc-three-column
Responsive three-column layout section
mc-image-text
Full-width image with text block
mc-button
Bulletproof CTA button (works in all email clients)
mc-coupon
Promotional coupon/discount block
mc-social
Social media icon links row
mc-footer
CAN-SPAM compliant footer with required merge tags
mc-divider
Horizontal divider line
mc-spacer
Vertical spacing block
mc-preview
Hidden inbox preview text
Merge Tags
Prefix
Output
mc-fname
*\|FNAME\|*
mc-lname
*\|LNAME\|*
mc-email
*\|EMAIL\|*
mc-subject
*\|MC:SUBJECT\|*
mc-date
*\|DATE:Y/m/d\|*
mc-company
Company name and address
mc-unsub
Unsubscribe link
mc-update
Update preferences link
mc-archive
View in browser link
mc-forward
Forward to a friend link
Conditional Content
Prefix
Description
mc-if
If/else conditional block
mc-ifgroup
Interest group conditional
RSS Campaigns
Prefix
Description
mc-rss-header
RSS feed title and description
mc-rss-item
Repeating RSS item block
How It Works
Open or create an HTML file in VS Code
Type mc- to trigger the snippet menu
Select a snippet and tab through the placeholders
Copy the HTML into your Mailchimp campaign
The mc-template snippet gives you a complete, production-ready email template with responsive layout, header, body, CTA button, and CAN-SPAM compliant footer — all with Mailchimp merge tags pre-configured.
Email Client Compatibility
All templates use battle-tested techniques for maximum compatibility: