Skip to content

bdim404/emailmd

 
 

Repository files navigation

Email.md

Write markdown. Ship emails. No HTMHELL.

Email.md converts markdown into responsive, email-safe HTML that works across Gmail, Outlook, Apple Mail, Yahoo, and every other client.

Email.md

Install

npm install emailmd

Quick Start

import { render } from "emailmd";

const { html, text } = render(`
# Welcome!

Thanks for signing up.

[Get Started](https://example.com){button}
`);

// html → complete email-safe HTML
// text → plain text version for text/plain MIME part

Learn More

  • Docs — full syntax reference, theming, frontmatter, directives, and API
  • Templates — ready-made email templates you can copy and customize
  • Builder — live editor to write and preview emails in your browser

AI

Email.md is just markdown, so AI is great at writing templates. Feed the full docs to your AI tool:

https://www.emailmd.dev/llms-full.txt

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request.

Email.md is under active development. The API may change between minor versions until we hit 1.0.

Acknowledgements

  • Built with MJML under the hood
  • Sponsored by unMTA

License

MIT

About

Render markdown into email-safe HTML

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 90.2%
  • MDX 7.9%
  • CSS 1.2%
  • Other 0.7%