What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 128 Stack Exchange communities.

If I want to write the URL of a website on Stack Overflow using Markdown, how do I do that?

For example:

<a href="abc.php">ABC</a> 

What is the way to write this URL on Stack Overflow?

share|improve this question
2  
See meta.stackoverflow.com/editing-help (and note that new users can only add one —or even zero?— link to a post). –  Arjan Feb 1 '11 at 11:39
add comment

2 Answers 2

up vote 16 down vote accepted

Actually, Markdown supports three (plus one) ways of creating a clickable link.

1. [Stack Overflow][1] (number reference)
2. [Stack Overflow][so] (tagged reference)
3. [Stack Overflow](http://stackoverflow.com) (direct reference)

[1]: http://stackoverflow.com
[so]: http://stackoverflow.com

Results in:

  1. Stack Overflow (number reference)
  2. Stack Overflow (tagged reference)
  3. Stack Overflow (direct reference)

And, of course, a raw URL will be converted to be clickable.

http://stackoverflow.com

Results in:

http://stackoverflow.com

This is all in the Help, of course. Don't be afraid to click that little question mark above the text area.

share|improve this answer
    
An understandable answer. Nice –  Awais Qarni Feb 1 '11 at 13:11
    
Turns out to be four plus one. –  GSerg Sep 3 '13 at 21:40
add comment

In stack overflow, you can make links by following the steps:

  • Link text is enclosed in square brackets eq: [ABC]
  • Next you provide a link number beside it eq: [ABC] [x]
  • At the bottom of your post you provide the actual link in the form: [x]: link URL

so your content will look like:

[ABC][1]

And the bottom of the post you will have:

[1]: http://your-actual-link.com
share|improve this answer
1  
Or: use the toolbar above the editor, or press Ctrl-L. –  Arjan Feb 1 '11 at 12:08
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .