Skip to content

rstacruz/emisa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emisa

Email inliner via style attributes

Emisa (Email inliner via style attributes) inlines CSS styles into style attributes for Elixir. This is useful for sending emails. This is a work in progress.

Usage

html = """
<html>
  <style>div { color: blue }</style>
  <div>hello</div>
</html>
"""

Emisa.run(html)
#=> "<html><div style="color:blue;">hello</div></html>"

About

Email inliner via style attributes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages