philippe99
10/15/2016 - 3:37 PM

links-in-markdown.md

links-in-markdown.md

Basically, you can make links in Markdown in two ways:

  • inline links
  • links with reference

Inline links

Direct inline links

[Inlink link](www.google.com)

output as:

Inlink link

Inline links with a title

[Inlink link](www.google.com "Title go the link")

output as:

Inlink link (Hover the link to see the title)

Links with reference

Links with reference need at least one (blank) line between the text with the link and the link reference itself.
That's why we suggest to put them at the end of the document.

Link with reference

Link for reference][reference text]
.. at the end of the document..
[reference text]: http://www.google.com

output as:

Link for reference

Link for citing sources

[citing sources] [1]
.. at the end of the document..
[1]: http://www.google.com

output as:

citing sources

Link without reference text

This kind of link does not work on all blogs or in all MD text editor.

This an example [example]
.. at the end of the document.>
[example]: http://www.google.com

output as:

This an example example

To be avoided !


Here after comes all the links references:

[example]: http://www.google.com

[1]: http://www.google.com

[reference text]: http://www.google.com