Markdownチュートリアル

Links

Complete guide to Markdown link syntax and best practices

Link Syntax

Link text is placed in square brackets, and the link address is placed in parentheses after it. The link title is optional. Markdown syntax for hyperlinks: [link text](link address "link title") Corresponding HTML code: <a href="link address" title="link title">link text</a>

This is a link 🔗: [Markdown](https://markdown-log.top)

Rendered output: This is a link 🔗: Markdown

Adding a Title to Links

The link title is the text that appears when you hover over the link. This title is optional and is placed in parentheses after the link address, separated by a space from the link address.

This is a link 🔗: [Markdown](https://markdown-log.top "Markdown")

Rendered output: This is a link 🔗: Markdown

Adding Email and URLs

Use angle brackets < to wrap email addresses or URLs, and Markdown will automatically convert them to links.

This is a link 🔗: <https://markdown-log.top>

Rendered output: This is a link 🔗: https://markdown-log.top

Emphasizing Links

Use ** to wrap links to add bold emphasis. Similarly, use _ to add italic emphasis.

I love supporting the **[EFF](https://eff.org)**.
This is the _[Markdown Guide](https://www.markdownguide.org)_.

Rendered output:

I love supporting the EFF.

This is the Markdown Guide.

Best Practices for Links

Different Markdown applications handle spaces in URLs differently. For compatibility, try to use %20 instead of spaces.

✅ Do this❌ Don't do this
[link]
(https://markdown-log.top/one%20two%20page)
[link]
(https://markdown-log.top/one two page)