https://github.com/arikchakma/maily
Transform Maily content into HTML email templates.
https://github.com/arikchakma/maily
maily mailyto react-email tiptap wysiwyg
Last synced: about 1 year ago
JSON representation
Transform Maily content into HTML email templates.
- Host: GitHub
- URL: https://github.com/arikchakma/maily
- Owner: arikchakma
- License: mit
- Created: 2023-11-05T19:17:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-10T22:17:07.000Z (over 2 years ago)
- Last Synced: 2025-04-03T01:33:22.286Z (about 1 year ago)
- Topics: maily, mailyto, react-email, tiptap, wysiwyg
- Language: TypeScript
- Homepage: https://maily.to
- Size: 105 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
@arikchakma/maily
Transform Maily content into HTML email templates.
## Install
Install `maily` from your command line.
#### With bun
```sh
bun add @arikchakma/maily
```
#### With yarn
```sh
yarn add @arikchakma/maily
```
#### With npm
```sh
npm install @arikchakma/maily
```
## Getting started
Convert React components into a HTML string.
```jsx
import { render } from '@arikchakma/maily';
const html = render({
type: 'doc',
content: [
{
type: 'paragraph',
content: [
{
type: 'text',
text: 'Hello World!',
},
],
},
],
});
```
## Contributions
Feel free to submit pull requests, create issues, or spread the word.
## License
MIT © [Arik Chakma](https://twitter.com/imarikchakma)