Ruby Helpers for create compatible e-mail templates. MailChimp.
- Compatible
- GH Pages auto hosting
- Management of urls
<p <%= font %>>Text with default text styles.</p>
<table <%= table %>>
<tr>
<td>
<p <%= font size: '10px' %>>Small text example.</p>
<p <%= image src: 'brand.png' %>></p>
</td>
</tr>
</table>
The default layout is a set of rules valid CSS and HTML to create the basis for our email .
IMAGE
image(opts = {})
TABLE
table(opts = {})
FONT
font(opts = {})
SPACER
spacer(opts = {})
Error
error msg
Create a new folder in /source/emails/
and put here your images and the a file your_mail.html.erb
.
Dillinger uses a number of open source projects to work properly:
- Twitter Bootstrap - great UI boilerplate for modern web apps
- jQuery - duh