24 points · 3 hours ago · 0 comments

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 ...

No comments yet. Log in to reply on the Fediverse. Comments will appear here.