I’ve been diving into discourse code base recently a lot and I’ve seen that
digest.html.erb is heavily hardcoded with not many options to extend.
I personally would like to explore the option to contribute to discourse by trying to add MJML framework.
Can someone give some tips where is best place to start this experiment in the codebase?. I don’t have any experience with ruby, this would be good opportunity to learn.
Additional question, would discourse developers accept slight modifications on
digest.html.erb? Like adding some addition
div wrappers to make styling easier and some css classes on elements that don’t have them. Or maybe approach to
digest.html.erb in way the
_post.html.erb email is handled (I see that is
lib/email/styles.rb handles changing the classes with inline css).