Skip to content

ihasco/emogrifier.pi.ee_addon

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

'Emogrifier' for ExpressionEngine

This plug-in is designed to help you inline CSS with HTML. Example uses would be to inline CSS for page speed purposes or in order to create more robust HTML email templates for use with third party ExpressionEngine modules.

BASIC USAGE:

{exp:emogrifier css="/assets/css/email.css"}<h1>My HTML</h1>{/exp:emogrifier}

with perhaps a CSS file as follows:

h1 { color: red; }

which would output:

<h1 style="color: red;">My HTML</h1>

PARAMETERS:

css = '/assets/css/email.css' (optional)

  • The css file that you want to emogrify with your HTML

RELEASE NOTES:

1.0 - Initial Release.

For updates and support check the developers website: https://github.com/ihasco/emogrifier.pi.ee_addon

Thanks

This add-on was inspired by and uses the 'Emogrifer' PHP library written by John Reeve.

About

Emogrifies (inlines) template CSS. Useful if you are using EE templates for HTML email

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published