Links

Inline links, reference links, and autolinks

1 min read 85 words

Various ways to create links in Markdown.

[Link text](https://example.com)
[Link with title](https://example.com "Title")

Define links once, use multiple times:

[Link text][ref]
[Another link][ref]

[ref]: https://example.com

Shorthand (link text = reference):

[example.com]

[example.com]: https://example.com

URLs and emails are automatically linked:

<https://example.com>
<user@example.com>
[Local page](./other-page.md)
[Parent directory](../index.md)
[Section](#heading-id)
[Other page section](./page.md#section)
[![Alt text](image.png)](https://example.com)