Writing HTML page for email is really hard, you have to inline all your CSS. However, doing this when developing will mess up your code and allow bugs to appear.
After searching, I found Zurb Inliner which can finish this task. I extract the url and param format, then write a workflow to call it automatically.
So, now you can write your CSS in a <style></style>
tag, and then trigger hotkey to inline it.
Usage:
- write all your CSS in a
<style></style>
tag, - select all HTML text,
- press
Ctrl + Shift + 0
, - wait for a short time(if your internet is slow),
- press
⌘ + V
, - BOOM! You get the final inlined HTML.
Hopes this can make email writing easier.