vabada
vabada

Reputation: 1814

Markdown links without need for text link

I would like to have links in my markdown files, without the need of specifyng a text link, such us:

[text link](https://sample_url)

Is there a way to do so without duplicating the URL?

[https://sample_url](https://sample_url)

As URLs might change over time and I would like to avoid having to change them twice.

(Sharing the question as it took me a while to find an answer)

Upvotes: 5

Views: 2299

Answers (1)

vabada
vabada

Reputation: 1814

You can use

<https://sample_url>

See https://daringfireball.net/projects/markdown/syntax#autolink

It will also be rendered properly with mkdocs

Upvotes: 5

Related Questions