Sublime Forum

Premailer - inline style converter

#1

I build email templates and currently use Premailer (http://premailer.dialect.ca ) or Putsmail (http://putsmail.com) to convert my embedded styles to inline styles. I know they have a python version of Premailer and was thinking it would be amazing if that could be incorporated into Sublime Text. Maybe as a plugin or something.

Some features would include:

  • Taking styles from the head of the document and inlining them with their respected classes or ids
  • Preserve media queries and client specific styles and putting them before the closing tag
  • Create a text version
1 Like

#2

It would be great to have such feature.

0 Likes

#3

I’ve just found what we asked for:

How to make it work in Sublime Text 3 on Windows 10?

0 Likes