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

add RTL support #27

Open sijad opened 6 years ago

sijad commented 6 years ago

by adding dir="rtl" attribute to heml tag all elements should be RTL.

avigoldman commented 6 years ago

Thanks for bringing this up! I haven't had time to dig into the expected behavior with this. Should this cascade down to all text elements? Should it also affect non-layout tables?

sijad commented 6 years ago

IMO this should affect all styles (e.g. margin, text-align, etc) and attributes (e.g. direction, align, etc), I'm not sure about non-layout tables.

side note, this project is very helpful and awesome, we are very appreciate it. thank you!

ghost commented 3 years ago

I'd like to bump this. Is there any progress on adding rtl-support? I'm not even able to hack around it. It wont get applied properly to the elements after heml has compiled the document.