Delaware County

Regional Sewer District Wiki

  Links

Home ButtonIndex Button     

If you want to insert a hypertext link inside your document, Markdown gives you two ways. You can write your links inline links or by reference.

Inline-style links allow linking some text to another webpage. Surround the link with [brackets], followed by the URL inside parenthesis. Like this

Code:

    [Google Search](https://google.com)

    [Google Search](https://google.com "Google Search")

Results:

Google Search

Google Search


the second link has a title (quoted) with is displayed by most web browsers as a tooltip when your mouse hovers over the link. The title is optional.

Reference_style links work the same, except that you do not have to write the URL in the middle of the paragraph, which makes text more legible. Instead you give a name to the link and you write the URL on a separate line -- anywhere in the document. It looks like this:

Code:

    This is a reference style link [Google Search][gs]

    [gs]: https://www.google.com/ "Google Search"

The line that define the URL is stripped from the final result and the bracketed text becomes a link. This line should be placed at the bottom of the page.

Results:

This is a reference style link Google Search


Again, the title of the link (My website) is optional.


Back to: Markdown Concepts


Last modified: December 15, 2022 10:47:40 - Home - Index