Project

mrml-rails

0.0
The project is in a healthy, maintained state
Rails Template Engine for MJML (Rust-variant called MRML)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
 Project Readme

Mrml::Rails

mrml-rails is a ActionMailer templating engine that uses the Rust-based MRML compiler in order to compile MJML files into pure HTML.

Installation

Add this line to your application's Gemfile:

gem 'mrml-rails'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install mrml-rails

Usage

All you need to do is to have the file extension mjml on the specific views.

I.e.: sign_up.html.mjml, sign_up.mjml

Development

TODO

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/oddcamp/mrml-rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Mrml::Rails project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.