grafana/emails
Alexander Weaver 39d7fdbbbc
Alerting: Preserve new-lines from custom email templates in rendered email (#52253)
* Add line break, regenerate, and fix

* Left-align custom text in addition to preserving newlines
2022-07-19 11:05:50 -05:00
..
assets/css Alerting: Layout fixes for email template (#40676) 2021-10-22 09:12:37 +02:00
grunt Email: Allow configuration of content types for email notifications (#34530) 2021-07-19 13:31:51 +03:00
templates Alerting: Preserve new-lines from custom email templates in rendered email (#52253) 2022-07-19 11:05:50 -05:00
gruntfile.js Prettier: Upgrade to 2 (#30387) 2021-01-20 07:59:48 +01:00
package.json Emails: Update notification templates (#19662) 2019-10-31 10:33:33 -07:00
README.md Email: Allow configuration of content types for email notifications (#34530) 2021-07-19 13:31:51 +03:00

Prerequisites

  • npm install
  • gem install premailer

Tasks

  • npm run build (default task will build new inlines email templates)
  • npm start (builds on source HTML, text, or CSS change)

Result

Assembled email templates will be in dist/ and final inlined templates will be in ../public/emails/