alex-oleshkevich / mailers

Email delivery for asyncio.
MIT License
22 stars 1 forks source link

Markdown & premailer support #11

Open iloveitaly opened 23 hours ago

iloveitaly commented 23 hours ago

Hello! Thanks for the great library. Wondering if you've been open to two additions:

I've done this before with another project, so I'd be porting code that looks something like this:

https://github.com/iloveitaly/todoist-digest/blob/master/todoist_digest/email.py

alex-oleshkevich commented 18 hours ago

Yes, that would be a great add-on. I am even pro replacing toronado (current css inliner) with premailer.

As of markdown. What are benefits of using jinja-markdown comparing to classing Markdown -> HTML flow?

iloveitaly commented 18 hours ago

Honestly, not sure. I think a more direct markdown => HTML flow would be cleaner.

Great, I'll go ahead and replace with css_inliner.