Technical blog from Craig Russell.
There are two types of links you can create in Markdown:
This post details how to use both types.
The standard syntax for creating links in markdown is providing text to display in square brackets [ ]
, followed by the URL in parentheses ( )
. For example, to link to this blog, I could do this:
[My Blog](https://craigrussell.io)
, which renders as My Blog
[ ]
and ( )
[ ]
appears before the ( )
Instead of adding display text for the link you can have it displayed as just the URL, and there are 2 ways to do this.
One way to create a link with no title is to duplicate the URL into both parts of the link: e.g.,
[https://craigrussell.io](https://craigrussell.io)
, which renders as https://craigrussell.io.
The best way to create a link which just shows the URL and no custom display text is to wrap it inside angle brackets < >
.
<https://craigrussell.io>
, which renders as https://craigrussell.io