1234
submitted 6 months ago by robocall@lemmy.world to c/memes@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] Redjard@lemmy.dbzer0.com 14 points 6 months ago* (last edited 6 months ago)

In markdown, there is the notation []() for links. Reddit allowed it too for examples, and generally a lot of programs and platforms that have mild text formatting use markdown.
[some text](https://example.org/some-link) will turn into some text

Lemmy has basically extended this with ![]() which shows the content of the link
![some text](https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png) will turn into some text

Where did that "some text" go? It's basically the placeholder for when the image is loading or failed to load, the correct term is the alt-text.

The image @Branch_Ranch@lemmy.world was asking about uses the text
![](https://ttrpg.network/pictrs/image/396cb01b-6b2b-4351-9cd5-0742c2914719.png)
It has no alt text. Any frontent that has an image upload button or similar will upload the image somewhere, take the link, and put it into your post like this.

I hope your frontend renders code-blocks and escapes with backslash (\) correctly, else this may look weird to you.

[-] brbposting@sh.itjust.works 2 points 6 months ago

Well explained!

If the above comment looks funky, view a copy here.

[-] FlickeringScreens@lemmy.world 1 points 6 months ago

Thank you, Good explanation

this post was submitted on 16 May 2024
1234 points (100.0% liked)

memes

10376 readers
2527 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 1 year ago
MODERATORS