Comments (3)
@madshensel I've released v1.0.0 which adds support for custom templates. See the updated README example here https://github.com/niftylettuce/preview-email#custom-preview-template-and-stylesheets.
Also note that I will be releasing a new version of email-templates
shortly as well that includes this new setup and API. This was a breaking change because I cleaned up the options, it's now previewEmail(message, options)
.
Let me know if you have any issues, and if you make a cool template/styling for the preview we'll gladly accept a PR for some type of "theme" selection.
from test-preview-emails-cross-browsers-ios-simulator-nodejs-javascript.
Note that v1.0.0 was just unpublished because I dropped support for Node v6 and did not include that as a change. I just now released v1.0.1.
https://github.com/niftylettuce/preview-email/releases/tag/v1.0.1
from test-preview-emails-cross-browsers-ios-simulator-nodejs-javascript.
A new version of email-templates
was released with a bumped version of preview-email
, which now allows you to have custom templates/stylesheets in that package as well.
See https://github.com/niftylettuce/email-templates/releases/tag/v6.0.0
from test-preview-emails-cross-browsers-ios-simulator-nodejs-javascript.
Related Issues (20)
- Pugjs Uglifyjs dependency issues (Webpack)
- Support other template engines (handlebars, ejs...) HOT 1
- Unnecessary console.log HOT 3
- The result of email rendering is within <iframe> tage HOT 1
- Problem with WSL path HOT 1
- Option `open` is incorrectly handled and/or documented HOT 1
- how to only show preview HTML ?
- Mailparser update HOT 1
- Attached images with CID are not displayed HOT 1
- [fix] Define mailparser dependency with ~ instead of ^ HOT 1
- [fix] preview-email is failing due to require('node:child_process') is not getting processed on mac intel HOT 2
- [fix] Links in previews don't open on click
- Dependency package of display-notification version 2.0.0 having vulnerability (Versions of the package semver before 7.5.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range) HOT 3
- Allow to configure the opn command HOT 5
- Upgrade nodemailer to non-vulnerable version: 6.9.9
- Upgrade mailparser to version 3.6.9 or more, so to use version without punycode vulnerabilities HOT 1
- CI actions use `deprecated` version of `Node.js` HOT 1
- Doesn't show on Ubuntu? HOT 4
- Browser doesn't open in WSL HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from test-preview-emails-cross-browsers-ios-simulator-nodejs-javascript.