DEV Community

Discussion on: Announcing HEML: An Open Source Framework for Email

Collapse
 
jmosouza profile image
João Souza

Extendable components aside, what's the difference from writing regular HTML and CSS?

Collapse
 
avigoldman profile image
Avi Goldman

I totally understand the confusion because what you write is basically HTML and CSS. That was the goal 😄

I think the best way to see the power of HEML is to take a look at the output from even a very basic email. The components compile into pretty ugly HTML and CSS. HEML remove the need to understand why each element is built in the way it is. On the CSS side, there is a fair amount of manipulation happening so that your CSS is safer to send. Like I mentioned in the article, the color is formatted to be safer. Thats one example. HEML will also change the font attribute to have better support.

Feel free to ask me any and all questions as an issue on the repo or tweet them at @theavigoldman