Link Search Menu Expand Document

Links

Table of contents
  1. Externarl links
    1. Directly put link on the address with <>
  2. Internal link within Jekyll pages
  3. Buttons
  4. Prevent automated linking or skip linking
  5. Add emphasize/anchored link
  6. Reference in text

To link text in markdown, just insert the linked tex in square bracket followed with round bracket of the URL, no space.

Markdown

This is [linked text](https://irawan.io) <br>
This is [link with title](https://irawan.io "Irawan's site")

Rendered output

This is linked text
This is link with title

Markdown

<https://www.irawan.io>  
<me@irawan.io>

Output

https://www.irawan.io
me@irawan.io

There are many ways of doing this but here’s the simplest I choose with link tags:

Markdown: [Link text to Docker](/Docker/)

Output

Link text to Docker

Buttons

Button in MD is similar to links but add {: .btn} at the end

Markdown

[Link button to my page](https://irawan.io){: .btn}

Output

Link button to my page

Prevent automated linking or skip linking

Markdown

 `https://www.irawan.io`

Output

https://www.irawan.io

Markdown

This is the *[Irawan's site](https://www.irawan.io)*.  
See the section on [top of the page](#).

Output

This is the Irawan’s site.
See the section on top of the page.

Reference in text

Markdown

It was a [nasi-goreng][ng], and that means comfort.

[ng]: <https://en.wikipedia.org/wiki/Nasi_goreng> "Nasi Goreng"

Output

It was a nasi goreng, a delicious Indonesian food.