Grey.ooo
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
حمید پیام عباسی@crazypeople.online to Memes@lemmy.mlEnglish · 2 个月前

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
208

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 个月前
message-square
166
link
fedilink
  • ferric_carcinization@lemmy.ml
    link
    fedilink
    English
    arrow-up
    12
    ·
    edit-2
    2 个月前

    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
      2 个月前

      ![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
        7
        ·
        edit-2
        2 个月前
        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
          ·
          2 个月前

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

          • mathemachristian[he]@lemmy.ml
            link
            fedilink
            arrow-up
            16
            ·
            2 个月前

            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
        7
        ·
        2 个月前

        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
          ·
          2 个月前

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

          • ferric_carcinization@lemmy.ml
            link
            fedilink
            English
            arrow-up
            5
            ·
            2 个月前

            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
              ·
              2 个月前

              I believe the frontend uses markdown-it proper.

              • ferric_carcinization@lemmy.ml
                link
                fedilink
                English
                arrow-up
                5
                ·
                2 个月前

                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
                  ·
                  2 个月前

                  deleted by creator

                  • ferric_carcinization@lemmy.ml
                    link
                    fedilink
                    English
                    arrow-up
                    5
                    ·
                    2 个月前

                    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
      7
      ·
      2 个月前

      Thanks!

      • ferric_carcinization@lemmy.ml
        link
        fedilink
        English
        arrow-up
        5
        ·
        2 个月前

        Nice alt text, very concise!

        • Cowbee [he/they]@lemmy.ml
          link
          fedilink
          arrow-up
          7
          ·
          2 个月前

          Thanks!

    • UltraGiGaGigantic@lemmy.ml
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 个月前

      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.

  • 710 users / day
  • 2K users / week
  • 5.25K users / month
  • 11.5K users / 6 months
  • 1 local subscriber
  • 56.4K subscribers
  • 2.1K Posts
  • 17.1K Comments
  • Modlog
  • mods:
  • ghost_laptop@lemmy.ml
  • Cyclohexane@lemmy.ml
  • Arthur Besse@lemmy.ml
  • BE: 0.19.20
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org