News for hackers. Stuff that matters.
Re:Caniemail.com (like caniuse but for email content) by prmoustache on Tuesday May 07, 2024 @06:11AM (#40283956)
The point is: markdown is HTML, not something else.
Re:Caniemail.com (like caniuse but for email content) by arp242 on Tuesday May 07, 2024 @06:31AM (#40284039)
It's not. Markdown is markdown. It can render to HTML, but that's a different thing. I struggle to understand why this is even a point of contention.
Re:Caniemail.com (like caniuse but for email content) by prmoustache on Tuesday May 07, 2024 @06:52AM (#40284142)
Since it supports any HTML tag, it is irrelevant.

Mandate markdown and MTAs and marketing departments will send you markdown only made of pure HTML.

Re:Caniemail.com (like caniuse but for email content) by arp242 on Tuesday May 07, 2024 @07:12AM (#40284245)
That's quite the pivot from "markdown is HTML". But no, it probably shouldn't support HTML tags, or support it with limits. And maybe also a few other things like #-headers also shouldn't be supported as it can be too easily to do by accident. All of that seems pretty obvious in all but the most aggressively pedantic reading.
Re:Caniemail.com (like caniuse but for email content) by jeltz on Tuesday May 07, 2024 @06:36AM (#40284065)
Is C amd64 assembly then?
Re:Caniemail.com (like caniuse but for email content) by prmoustache on Tuesday May 07, 2024 @06:56AM (#40284152)
If your C code end up like that, yes:

``` #include <stdio.h>

int main() { /* my software in ASM */ __asm__ ( [...<insert your assembly code lines here>...] );

    return 0 ;
} ```

And you are pretty sure this is pretty much what would happen with markdown in emails if it ended up being mandatory. You would end up with emails entirely made of html.