Christian Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
حمید پیام عباسی@crazypeople.online to Memes@lemmy.mlEnglish · 2 days ago

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

lemmy.ml

message-square
166
link
fedilink
1

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 · 2 days ago
message-square
166
link
fedilink
  • ferric_carcinization@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 day ago

    The syntax for images in markdown is ![alt text]().

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

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

      • mathemachristian[he]@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        1 day ago

        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
          0
          ·
          1 day ago

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

          • mathemachristian[he]@lemmy.ml
            link
            fedilink
            arrow-up
            0
            ·
            1 day 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?'">

      • ferric_carcinization@lemmy.ml
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 day 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
          0
          ·
          1 day ago

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

          • ferric_carcinization@lemmy.ml
            link
            fedilink
            English
            arrow-up
            0
            ·
            1 day 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
              0
              ·
              1 day ago

              I believe the frontend uses markdown-it proper.

              • ferric_carcinization@lemmy.ml
                link
                fedilink
                English
                arrow-up
                0
                ·
                1 day 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
                  0
                  ·
                  1 day ago

                  The preview for me becomes an image as soon as I preview.

                  test <img src="test" alt="test">

                  • ferric_carcinization@lemmy.ml
                    link
                    fedilink
                    English
                    arrow-up
                    0
                    ·
                    1 day 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>.

    • Cowbee [he/they]@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      1 day ago

      Thanks!

      • ferric_carcinization@lemmy.ml
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 day ago

        Nice alt text, very concise!

        • Cowbee [he/they]@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          1 day ago

          Thanks!

    • UltraGiGaGigantic@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 day ago

      Used to do that all the time but a certain someone got all my carefully labeled images nuked when they got banned.

      My apologies to my differently sighted people out there. I hope I can be strong for you once more.

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.

  • 76 users / day
  • 317 users / week
  • 1.04K users / month
  • 2.31K users / 6 months
  • 0 local subscribers
  • 55.8K subscribers
  • 1.42K Posts
  • 12.8K Comments
  • Modlog
  • mods:
  • ghost_laptop@lemmy.ml
  • Cyclohexane@lemmy.ml
  • Arthur Besse@lemmy.ml
  • UI: unknown version
  • BE: 0.19.13
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org