Use this file to discover all available pages before exploring further.
Snippets are reusable pieces of content that you can include in your emails. The Buttondown CLI lets you manage snippets as Markdown files with frontmatter.
Each snippet is a Markdown file with YAML frontmatter:
snippets/footer.md
---id: snip_abc123name: Standard Footer---Thanks for reading!If you enjoyed this newsletter, please share it with a friend.You can [unsubscribe]({{ unsubscribe_url }}) or [update your preferences]({{ manage_subscription_url }}) at any time.
---name: Social Media Links---Follow us on:- [Twitter](https://twitter.com/example)- [LinkedIn](https://linkedin.com/company/example)- [GitHub](https://github.com/example)
---name: Author Bio---**About the Author**Jane Doe is a software engineer and technical writer. She's passionate about making complex topics accessible and helping developers level up their skills.Connect with Jane on [Twitter](https://twitter.com/janedoe) or [LinkedIn](https://linkedin.com/in/janedoe).
---name: Upgrade CTA---<div style="background: #f0f0f0; padding: 20px; border-radius: 8px; text-align: center;"> <h3>Want more content like this?</h3> <p>Upgrade to premium for exclusive tutorials, code samples, and early access to new features.</p> <a href="https://example.com/upgrade" style="background: #0066cc; color: white; padding: 12px 24px; text-decoration: none; border-radius: 4px; display: inline-block;">Upgrade Now</a></div>
---name: Product Spotlight---**This Week's Product Spotlight**Check out our latest feature: **Dark Mode**! Now you can work comfortably at any time of day.[Learn more →](https://example.com/features/dark-mode)
Reference snippets in your emails using the snippet identifier (the filename without extension):
emails/weekly-update.md
---subject: Weekly Update---# This Week's HighlightsHere's what we've been working on...{{ snippet.product-spotlight }}---{{ snippet.social-links }}{{ snippet.footer }}
The snippet identifier is the filename without the .md extension. For example, footer.md becomes {{ snippet.footer }}.
---name: Premium Paywall------**This is a preview.** The full article is available to premium subscribers.<div style="background: linear-gradient(to right, #667eea, #764ba2); color: white; padding: 30px; border-radius: 8px; text-align: center; margin: 20px 0;"> <h3 style="margin-top: 0; color: white;">Upgrade to Premium</h3> <p>Get access to all premium content, exclusive tutorials, and support our work.</p> <a href="{{ upgrade_url }}" style="background: white; color: #667eea; padding: 12px 32px; text-decoration: none; border-radius: 4px; display: inline-block; font-weight: bold;">Upgrade Now</a></div>
---name: Sponsor Message------**Sponsored***This newsletter is made possible by our sponsors.*[Sponsor Name] - Brief description of what they offer and why it's relevant to readers.[Learn more →](https://sponsor.example.com)---