How to install:
mkdir letters
cd letters
git clone https://github.com/Rekryt/inky-letters .
rm -rf .git #optional
npm install
How to use:
npm run dev
npm run build
Create html in folder "templates"
<row>
<columns large="6"></columns>
<columns large="6"></columns>
</row>
And get complicated, but battle-tested, email-ready HTML like this:
<table class="row">
<tbody>
<tr>
<th class="small-12 large-6 columns first">
<table>
<tr>
<th class="expander"></th>
</tr>
</table>
</th>
<th class="small-12 large-6 columns first">
<table>
<tr>
<th class="expander"></th>
</tr>
</table>
</th>
</tr>
</tbody>
</table>
After, casting styles to inline style strings, result placed in "dist" folder:
<table style="...">
<tbody>
<tr style="...">
<th style="...">
<table style="...">
<tbody>
<tr style="...">
<th style="..."></th>
</tr>
</tbody>
</table>
</th>
<th style="...">
<table style="...">
<tbody>
<tr style="...">
<th style="..."></th>
</tr>
</tbody>
</table>
</th>
</tr>
</tbody>
</table>
How to install gulp:
npm install gulp-cli -g