See in action: https://ns-css-inliner.herokuapp.com
From https://templates.mailchimp.com/
Some email clients strip out and <style> tags from emails, so it's best to have your CSS written inline within your markup. We know that writing inline CSS is time consuming and repetitive, so we've built this conversion tool to automatically inline your email's CSS.
- you can use lodash to parse and compile load json data
Dillinger uses several open source projects to function properly:
- [Svelte] - Create Reactive Apps WIOUTH VIRTUAL DOM
- [Ace Editor] - awesome web-based text editor
- [node.js] - evented I/O for the backend
- [Express] - fast node.js network app framework [@tjholowaychuk]
- [Rollup] - the streaming build system
- Now.sh - Deoloy
Clone the project and start the server.
$ cd ns_email-inliner
$ npm install
$ npm start
- Write MORE Tests
MIT
Free Software, Hell Yeah!