Coder Social home page Coder Social logo

Would be amazing to be able to change the template design as a option. about test-preview-emails-cross-browsers-ios-simulator-nodejs-javascript HOT 3 CLOSED

madshensel avatar madshensel commented on May 23, 2024
Would be amazing to be able to change the template design as a option.

from test-preview-emails-cross-browsers-ios-simulator-nodejs-javascript.

Comments (3)

niftylettuce avatar niftylettuce commented on May 23, 2024

@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.

niftylettuce avatar niftylettuce commented on May 23, 2024

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.

niftylettuce avatar niftylettuce commented on May 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.