Markdown Coach

Markdown Reference-Style Links: [text][1]

Reference-style links keep long addresses out of your sentences, so the text stays easy to read and edit. Write [words][1] in the text, then on its own line (usually at the bottom) write [1]: and the address. The label can be a number or a word.

The rule

A reference link keeps long addresses out of your sentences: write [words][1] in the text, then on its own line at the bottom write [1]: and the address.

You type

Read the [guide][1].

[1]: https://www.markdownguide.org

You get

Read the guide.

Try it yourself

Make Dino facts a reference link, with label 1, that goes to https://example.com

Live preview

More examples

You type

Read the [guide][1] and the [spec][2].

[1]: https://www.markdownguide.org
[2]: https://spec.commonmark.org

You get

Read the guide and the spec.

Two links, addresses at the bottom.

You type

See [Markdown Guide][] for more.

[Markdown Guide]: https://www.markdownguide.org

You get

See Markdown Guide for more.

Empty second brackets: the words themselves are the label.

Common mistakes

You type

Read the [guide][1].

[1] https://www.markdownguide.org

Shows as

Read the [guide][1].

[1]https://www.markdownguide.org

The colon after [1] is missing, so the link does not work.

You type

Read the [guide][1].

[2]: https://www.markdownguide.org

Shows as

Read the [guide][1].

The labels do not match (1 and 2).

Where it works

Everywhere Markdown works. The address lines are hidden in the result.

Keep it, not just learn it

The full course has 22 skills on five islands, short Missions that check your answers, and reviews a few days later so it sticks. Free, no sign-up.

Practise this in the course