3 ms·
Raw html? I use Sublime + Emmet. I can do something like "table>(tr>(td>p{$}) * 3) * 4" and then press tab, which would generate for me: <table> <tr> <td>
by Raphmedia 12y ago
Raw html? I use Sublime + Emmet.
I can do something like "table>(tr>(td>p{$}) * 3) * 4" and then press tab, which would generate for me:
<table>
<tr>
<td>
<p>1</p>
</td>
<td>
<p>2</p>
</td>
<td>
<p>3</p>
</td>
</tr>
<tr>
<td>
<p>1</p>
</td>
<td>
<p>2</p>
</td>
<td>
<p>3</p>
</td>
</tr>
<tr>
<td>
<p>1</p>
</td>
<td>
<p>2</p>
</td>
<td>
<p>3</p>
</td>
</tr>
<tr>
<td>
<p>1</p>
</td>
<td>
<p>2</p>
</td>
<td>
<p>3</p>
</td>
</tr>
</table>
Edit: Except that there would be indentation too, which HN removes.