Hacker News new | ask | show | jobs
by tiborsaas 2477 days ago
I'm all over for using cutting edge CSS solutions but when it comes to HTML email, I'm just:

    <h1>Hello</h1>
    <p>...</p>
    <p>...</p>
    <em>Thanks!</em>
and it's done :)
3 comments

How about this?

  Hello
  ...
  ...
  Thanks!
I want to have embedded links, tables and images (but only ones that are attachments), which plaintext isn't sufficient for. On the other hand, I want _only_ that, and notably they all provide a nice and obvious client-side failover for TTY software without requiring attaching a 2nd copy of the text.
HTML in email helps readability, titles, lists, tables does help the recipient.
Nothing that cannot more elegantly be solved by using MarkDown ...

... or common sense.

I don't want to parse Markdown when I read emails.

(and I don't have common sense either)

Or you could say at a plaintext email first paragraph: You have to use your own fun/gun for this, and just type in plain text.
... which is perfectly ok, because MarkDown nicely degrades to plain text.
As long as the varient of Markdown supports tables, vanilla markdown is laking in that area.
Which e-mail client can render markdown?
I take the hybrid approach:

    <b>Hello</b><br>
    ...<br>
    ...<br>
    <em>Thanks!</em>
Let's fix your comment:

% I'm all over for using cutting edge CSS solutions but when it comes to HTML email, I'm just:

% <h1>Hello</h1> % <p>...</p> % <p>...</p> % <em>Thanks!</em>

Let's make two billion dollars great again. Unpolitically.

% and it's done :)

Die poor.

So now imagine that you would like to add <button>.

Well... Good luck with shady VML tricks!

https://buttons.cm/

Buttons in emails sound fishy :) I would just use an inline styled anchor.