All demo cards

The card from a linked file

The second way to give the card: a <link> in the page's head names a JSON file, typed application/vnd.discord.component-embed+json.

This is the page a click on the card opens: on ymnmods.com, the full article.

The card's JSON (389 bytes)

{
  "component": {
    "type": 17,
    "accent_color": 440020,
    "components": [
      {
        "type": 9,
        "components": [
          {
            "type": 10,
            "content": "## A linked card\nThis card's JSON is a file of its own, named by a `<link>` in the page's head."
          }
        ],
        "accessory": {
          "type": 11,
          "media": {
            "url": "https://ymn-embed-demo.pages.dev/icon.png"
          },
          "description": "Icon"
        }
      },
      {
        "type": 10,
        "content": "-# YMN Mods · component embed demo · linked JSON"
      }
    ]
  }
}