SparkPost / heml

HEML is an open source markup language for building responsive email.
https://heml.io
MIT License
4.33k stars 157 forks source link

Table inside HEML #40

Closed malexandre closed 6 years ago

malexandre commented 6 years ago

I don't see a particular reason to not give access to the table element directly. It would act kind of like HTML in markdown, where you could make a table yourself if HEML can't do a specific thing you want to.

For example, I want to use a table to make a sort of list with step. The min column width is too large for my "step" column, it adds too much spacing and makes the result weird. But having just a basic table would be enough in this case.

avigoldman commented 6 years ago

Hey @malexandre, you can use a table in HEML! This is totally valid HEML 😄 Let me know if you run into any issues with this.


<heml>
  <head></head>
  <body>
    <table>
      <tr><td>my table</td></tr>
    </table>
  </body>
</heml>
fritx commented 5 years ago

@avigoldman <td> custom style gets lost in HEML