Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/renerocksai/mdmail
https://github.com/renerocksai/mdmail
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/renerocksai/mdmail
- Owner: renerocksai
- License: mit
- Created: 2024-10-18T00:28:33.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-10-18T00:29:47.000Z (3 months ago)
- Last Synced: 2025-01-13T07:16:54.324Z (13 days ago)
- Language: Nix
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mdmail
I use neovim to write emails in markdown syntax, which I find faster and more
efficient. However, I need a way to convert these markdown emails into HTML
that's compatible with Outlook.com's browser version. The standard pandoc
conversion doesn't work well for me due to poor styling and lack of embedded
images.To solve this, I use **mdmail**. By simply running `mdmail mail.md`, it
generates a well-styled email with all images and screenshots embedded, which
opens in my browser. I can then select all, copy, and paste it into Outlook in
the browser.Ta-dah! 😊
## Run without installing
Use nix, with flakes enabled.
```console
$ nix run github:renerocksai/mdmail mymail.md
```## Installing it
Use nix, with flakes enabled.
```console
$ nix profile install github:renerocksai/mdmail
```Then run it:
```console
$ mdmail mymail.md
```Or in vim: `:!mdmail %`
😎