Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
حمید پیام عباسی@crazypeople.online to Memes@lemmy.mlEnglish · 20 天前

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

lemmy.ml

message-square
163
fedilink
203

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 · 20 天前
message-square
163
fedilink
  • Cowbee [he/they]@lemmy.ml
    link
    fedilink
    arrow-up
    12
    ·
    20 天前

    I forget, how do you add alt-text again? I keep forgetting the right way to do it.

    • ferric_carcinization@lemmy.ml
      link
      fedilink
      English
      arrow-up
      12
      ·
      edit-2
      20 天前

      The syntax for images in markdown is Exclamation mark, alt text in square brackets then the url in parentheses.

      Edit: Feels ridiculous to have to use a real image for this. Lemmy really seems to dislike image-like formatting in code blocks.

      • Edie [it/it/its/its/itself, she/her/her/hers/herself]@lemmy.ml
        link
        fedilink
        arrow-up
        9
        ·
        edit-2
        20 天前

        ![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
          7
          ·
          20 天前

          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
            7
            ·
            20 天前

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

            • ferric_carcinization@lemmy.ml
              link
              fedilink
              English
              arrow-up
              5
              ·
              20 天前

              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
                7
                ·
                20 天前

                I believe the frontend uses markdown-it proper.

                • ferric_carcinization@lemmy.ml
                  link
                  fedilink
                  English
                  arrow-up
                  5
                  ·
                  20 天前

                  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
                    6
                    ·
                    edit-2
                    20 天前

                    deleted by creator

        • mathemachristian[he]@lemmy.ml
          link
          fedilink
          arrow-up
          7
          ·
          edit-2
          20 天前
          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
            9
            ·
            edit-2
            20 天前

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

            • mathemachristian[he]@lemmy.ml
              link
              fedilink
              arrow-up
              15
              ·
              edit-2
              20 天前

              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…

      • Cowbee [he/they]@lemmy.ml
        link
        fedilink
        arrow-up
        6
        ·
        20 天前

        Thanks!

        • ferric_carcinization@lemmy.ml
          link
          fedilink
          English
          arrow-up
          5
          ·
          20 天前

          Nice alt text, very concise!

          • Cowbee [he/they]@lemmy.ml
            link
            fedilink
            arrow-up
            6
            ·
            20 天前

            Thanks!

      • UltraGiGaGigantic@lemmy.ml
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        20 天前

        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.

  • 917 users / day
  • 2.47K users / week
  • 5.03K users / month
  • 14.7K users / 6 months
  • 623 local subscribers
  • 55.9K subscribers
  • 16.1K Posts
  • 338K Comments
  • Modlog
  • mods:
  • ghost_laptop@lemmy.ml
  • Cyclohexane@lemmy.ml
  • Arthur Besse@lemmy.ml
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org