Links & Media·10 / 19

Links

Add clickable links to your Markdown documents.

Links

Links are one of the most essential Markdown features. They let you connect to other pages, websites, or sections.

Inline Links

[Link Text](https://example.com)

Links with Titles

Add a hover title in quotes:

[Google](https://google.com "Search Engine")

Reference Links

For cleaner documents, you can define links separately:

[Click here][1] to visit Google.
[And here][homepage] for the homepage.

[1]: https://google.com
[homepage]: https://example.com

Autolinks

URLs and emails are auto-linked in most renderers:

https://example.com
user@example.com

Section Links (Anchors)

Link to headings within the same document:

[Jump to Introduction](#introduction)

## Introduction
Content here...

Best Practices

  • Use descriptive link text (not "click here")
  • Use reference links for repeated URLs
  • Always add the https:// protocol
  • Test your links after writing!

💡 On GitHub, heading anchors are auto-generated from the heading text in lowercase with hyphens.

Practice

Markdown Input
Live Preview

Link Practice

Inline Link

Visit Google for searching.

Link with Title

Check out MDN

Reference Link

Read the documentation for more info.