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

推荐订阅源

Y
Y Combinator Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 司徒正美
Blog — PlanetScale
Blog — PlanetScale
博客园 - 聂微东
月光博客
月光博客
量子位
大猫的无限游戏
大猫的无限游戏
Stack Overflow Blog
Stack Overflow Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The Cloudflare Blog
P
Proofpoint News Feed
B
Blog RSS Feed
美团技术团队
腾讯CDC
C
Check Point Blog
Engineering at Meta
Engineering at Meta
F
Fortinet All Blogs
N
Netflix TechBlog - Medium
Recent Announcements
Recent Announcements
J
Java Code Geeks
S
SegmentFault 最新的问题
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享

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.