Take a full email template split and screenshot it
-
Run
npm install
to install dependencies -
You need PhantomJS installed
npm install -g phantomjs
-
Run
npm link
to addemailsplit
as a global command
-
CD into the folder container the HTML file you wish to split
-
Run the command
emailsplit <HTML FILENAME> <CLASSNAME>
-
A new folder called export will be created containing the HTML and PNG files with the contents of each element with the class inputted