Learn
Links in Markdown
How to add links in Markdown — inline links, reference-style links, and bare URLs — plus how to write link text that AI and readers actually understand.
~2 min
Inline links
Wrap the visible text in [brackets], then the URL in (parentheses). That's it.
markdown
[Markdown for AI](https://markdownforai.org)
→ Markdown for AI
Reference links
Define the URL once with a label, then reuse the label. It keeps long paragraphs readable.
markdown
See [our guide][g] for more. [g]: https://markdownforai.org
Bare URLs
Wrap a raw URL in angle brackets to make it clickable.
markdown
<https://markdownforai.org>
For AI, use descriptive link text instead of "click here". It tells the model what the link is about.