Jump to content

CSS Inliner, help you write HTML for email


Recommended Posts

Packal Link


This is my first Alfred workflow, hopes it can be useful.


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:


  1. write all your CSS in a <style></style> tag,
  2. select all HTML text,
  3. press Ctrl + Shift + 0,
  4. wait for a short time(if your internet is slow),
  5. press ⌘ + V,
  6. BOOM! You get the final inlined HTML.

inline-html-screenshot.png


Edited by numbbbbb
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...