惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
雷峰网
雷峰网
博客园 - 三生石上(FineUI控件)
月光博客
月光博客
有赞技术团队
有赞技术团队
阮一峰的网络日志
阮一峰的网络日志
Last Week in AI
Last Week in AI
G
Google Developers Blog
腾讯CDC
B
Blog
Microsoft Azure Blog
Microsoft Azure Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Microsoft Security Blog
Microsoft Security Blog
人人都是产品经理
人人都是产品经理
博客园_首页
T
Tailwind CSS Blog
C
Check Point Blog
博客园 - 【当耐特】
MongoDB | Blog
MongoDB | Blog
A
About on SuperTechFans
Y
Y Combinator Blog
L
LangChain Blog
Engineering at Meta
Engineering at Meta
GbyAI
GbyAI

Lynn Fisher

Case Study: lynnandtonic.com 2025 refresh Blog Questions Challenge 2025 Ten years of A Single Div When your work disappears I archived my tweets Case Study: lynnandtonic.com 2023 refresh A decade of working remotely SVG export wishlist The nbsp; was breaking after all Put your name on it Unordered, incomplete list of things I want from a job Case Study: lynnandtonic.com 2022 refresh Some things I worked on at Netlify Fun CSS-only scrolling effects for Matterday Case Study: lynnandtonic.com 2021 refresh
How I remember link and image Markdown syntax
Lynn Fisher · 2026-04-04 · via Lynn Fisher

Image and link syntax in Markdown are pretty similar and it can be hard to remember which text goes where. To help me, I have a few handy mnemonics.

As a reminder, here is the syntax for a link:

[link text](https://website.com)

And here is the syntax for an image:

![image alt text](/path-to-file/image.jpg)

To remember what goes in the square bracket vs. the parentheses, I use alliteration:

“Put the path in parentheses.”

Process of elimination, the alt/link text then must go in the square bracket.

If rhyming works better for you, I also sometimes think:

“Put the URL in the curl.”

This requires you to say URL as “Earl” and not “You Are Elle” and I know that makes some people cringe and die. Also parens are not curly braces, but are curled in comparison to a bracket? Not perfect, but it works for me.

To remember the exclamation point for an image, I started thinking about someone saying “Cheese!” before a photo is taken. But even better, I now think about a camera shutter sound.

So do you remember that band whose name was just three exclamation points? How do you even pronounce “!!!”? I guess they said it could be any short sound repeated three times, but most people would say Chk Chk Chk. So I think about the exclamation point preceding a Markdown image as a “chk” sound of a camera shutter.

Or if you think of an exclamation point as a “bang” already, you might think about the loud bang of old-timey flash powder.

So anyway, no clue if this will work for you, but I don’t ever get confused or mix up link and image Markdown anymore so that’s cool! Ok bye.