SparkPost / heml

HEML is an open source markup language for building responsive email.
https://heml.io
MIT License
4.33k stars 157 forks source link

Combining options "heml-embed" with "heml-ignore" on the style-element #70

Open reinvanoyen opened 6 years ago

reinvanoyen commented 6 years ago

Hi folks,

first of all thanks for the great effort that went into this project, in most cases it makes creating HTML emails effortless. It tends to be more expressive in nature than for example MJML, which is something I absolutely like.

We're running into an issue however where we just want to place some custom css in the head of our mailing, this is not possible because the two options on the styling tag do not work together. When we use heml-embed, the styling gets placed in the head, which is great. When we use heml-ignore, it however is not possible to embed the styling.

How are we meant to place a custom snippet of css in the head, without HEML touching it. For example: <style heml-ignore heml-embed> a { color: red; } </style>

Thanks in advance, Rein