lemmy.onlylans.io
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
حمید پیام عباسی@crazypeople.online to Memes@lemmy.mlEnglish · 16 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
125
fedilink
129

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 · 16 hours ago
message-square
125
fedilink
  • ferric_carcinization@lemmy.ml
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    9 hours ago

    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
      5
      ·
      edit-2
      8 hours ago

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

      • mathemachristian[he]@lemmy.ml
        link
        fedilink
        arrow-up
        5
        ·
        edit-2
        8 hours 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
          6
          ·
          edit-2
          9 hours ago

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

          • mathemachristian[he]@lemmy.ml
            link
            fedilink
            arrow-up
            10
            ·
            edit-2
            8 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…

      • ferric_carcinization@lemmy.ml
        link
        fedilink
        English
        arrow-up
        5
        ·
        9 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
          6
          ·
          9 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
            ·
            9 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
              6
              ·
              9 hours ago

              I believe the frontend uses markdown-it proper.

              • ferric_carcinization@lemmy.ml
                link
                fedilink
                English
                arrow-up
                4
                ·
                8 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
                  6
                  ·
                  edit-2
                  8 hours ago

                  deleted by creator

                  • ferric_carcinization@lemmy.ml
                    link
                    fedilink
                    English
                    arrow-up
                    5
                    ·
                    8 hours 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>.

    • UltraGiGaGigantic@lemmy.ml
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      9 hours 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.

    • Cowbee [he/they]@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      9 hours ago

      Thanks!

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

        Nice alt text, very concise!

        • Cowbee [he/they]@lemmy.ml
          link
          fedilink
          arrow-up
          4
          ·
          9 hours ago

          Thanks!

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: [email protected]

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.

  • 783 users / day
  • 2.46K users / week
  • 6.03K users / month
  • 16K users / 6 months
  • 1 local subscriber
  • 55.7K subscribers
  • 15.6K Posts
  • 310K Comments
  • Modlog
  • mods:
  • ghost_laptop@lemmy.ml
  • Cyclohexane@lemmy.ml
  • Arthur Besse@lemmy.ml
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org