• floquant@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    20
    arrow-down
    1
    ·
    22 days ago

    HTML is not valid markdown. Expecting other clients to break standards because one did is not backwards compatibility

    • Takapapatapaka@tarte.nuage-libre.fr
      link
      fedilink
      English
      arrow-up
      2
      ·
      22 days ago

      I’m quite ignorant on this all, so correct me if i say errors, but isn’t Markdown a text-to-HTML syntax ?

      That’s what i get from the Wikipedia page, and from both specifications it mentions :

      For any markup that is not covered by Markdown’s syntax, you simply use HTML itself. There’s no need to preface it or delimit it to indicate that you’re switching from Markdown to HTML; you just use the tags.

      An HTML block is a group of lines that is treated as raw HTML (and will not be escaped in HTML output).

      • floquant@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        11
        ·
        22 days ago

        This is some random website, not the standard. And even then, it explicitly says “Many Markdown applications allow you to use HTML”, not Markdown itself. The section on images does not mention img tags. A couple lines down:

        For security reasons, not all Markdown applications support HTML in Markdown