The URL is a base64 image, and so is this:

  • @AgreeableLandscapeOP
    link
    23 years ago

    Some notes: the character limit prevents you from embedding anything other than very small images, and by coincidence, some base64 strings can trigger the slur filter.

    • Maya
      link
      3
      edit-2
      3 years ago

      ![hmmm](data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🍄</text></svg>)

      • Maya
        link
        23 years ago

        damn haha

      • @AgreeableLandscapeOP
        link
        1
        edit-2
        3 years ago

        Think it’s because the Markdown parser doesn’t recognize it as a valid URL.

        Base64 doesn’t work for SVGs either (maybe it’s because of the plus sign):

        ![](data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48dGV4dCB5PSIuOWVtIiBmb250LXNpemU9IjkwIj7wn42EPC90ZXh0Pjwvc3ZnPg==)

        It kind of works as a post URL though, but at least on my browser, you need to press enter before it will display: https://lemmy.ml/post/49383

        • Maya
          link
          23 years ago

          I’ve made it work with kramdown at least :)

        • @AgreeableLandscapeOP
          link
          1
          edit-2
          3 years ago

          Wow, the formatted Markdown even truncates the data URL with an ellipses.