lm.inu.is
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
حمید پیام عباسی@crazypeople.online to Memes@lemmy.mlEnglish · 9 hours ago

Yeah, well, I'm gonna go build my own lemmy. With blackjack and hookers! In fact forget the lemmy.

lemmy.ml

message-square
112
link
fedilink
106

Yeah, well, I'm gonna go build my own lemmy. With blackjack and hookers! In fact forget the lemmy.

lemmy.ml

حمید پیام عباسی@crazypeople.online to Memes@lemmy.mlEnglish · 9 hours ago
message-square
112
link
fedilink
  • Edie [it/it/its/its/itself, she/her/her/hers/herself]@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    1 hour ago

    ![alt text](it tries to make the URL into an image or something so make it more than one word)

    • ferric_carcinization@lemmy.ml
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 hours ago

      But it shouldn’t do that when enclosed in a code/preformatted block?

      • Edie [it/it/its/its/itself, she/her/her/hers/herself]@lemmy.ml
        link
        fedilink
        arrow-up
        5
        ·
        2 hours ago

        It shouldn’t but the markdown parser is for whatever reason not that good.

        • ferric_carcinization@lemmy.ml
          link
          fedilink
          English
          arrow-up
          4
          ·
          2 hours ago

          Looks like it’s using markdown-it, a Rust port of a JavaScript library with the same name.

          It looks unmaintained. Last commit is from 2 years ago and issues look inactive. (including one asking asking about the maintenance status)

          • Edie [it/it/its/its/itself, she/her/her/hers/herself]@lemmy.ml
            link
            fedilink
            arrow-up
            5
            ·
            2 hours ago

            I believe the frontend uses markdown-it proper.

            • ferric_carcinization@lemmy.ml
              link
              fedilink
              English
              arrow-up
              4
              ·
              2 hours ago

              I think that it’s the backend that screws the “url” up. Everything looks good in the preview, but the “url” part disappears upon publishing.

              • Edie [it/it/its/its/itself, she/her/her/hers/herself]@lemmy.ml
                link
                fedilink
                arrow-up
                5
                ·
                2 hours ago

                I can see it does indeed also disappear upon publishing

                • ferric_carcinization@lemmy.ml
                  link
                  fedilink
                  English
                  arrow-up
                  4
                  ·
                  1 hour ago

                  It only becomes an image to me when outside of a code/preformatted block. Inside of one, it contains the raw markdown verbatim: <code class="hljs">!<span class="hljs-selector-attr">[alt]</span>(url)</code>.

    • mathemachristian[he]@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      1 hour ago
      wrong

      I think it’s ![image title](image url "image alt text")

      • Edie [it/it/its/its/itself, she/her/her/hers/herself]@lemmy.ml
        link
        fedilink
        arrow-up
        5
        ·
        2 hours ago

        No it is alt text in the square brackets and title in the quotations

        • mathemachristian[he]@lemmy.ml
          link
          fedilink
          arrow-up
          7
          ·
          2 hours ago

          lets test it

          ![PFLP poster](https://lemmy/ ml/pictrs/image/c09846dd-823e-4dc8-a486-f10a5696b620.webp?format=webp "PFLP poster that says 'Do you commend hamas?'")

          PFLP poster

          yeah you’re right

          <img src="https://lemmy.ml/pictrs/image/c09846dd-823e-4dc8-a486-f10a5696b620.webp?format=webp" alt="PFLP poster" title="PFLP poster that says 'Do you commend hamas?'">

          could have sworn I saw it the other way around and thought it weird which is why I remembered it but apparently it’s not like that…

Memes@lemmy.ml

memes@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !memes@lemmy.ml

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 882 users / day
  • 2.39K users / week
  • 6.17K users / month
  • 16.5K users / 6 months
  • 1 local subscriber
  • 55.7K subscribers
  • 16.3K Posts
  • 341K Comments
  • Modlog
  • mods:
  • ghost_laptop@lemmy.ml
  • Cyclohexane@lemmy.ml
  • Arthur Besse@lemmy.ml
  • BE: 0.19.15
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org