14

At this point I know how to add a clickable link in my answer, and I can create such a link to a question by copying the URL from the top of the browser. But if I want to make reference to someone else's answer, how do I create a clickable link to it?

1
  • 1
    Related: If you want links in comments to be auto-prettified, i.e. turned into text links (like the following one), check out SE Comment Link Helper.
    – doncherry
    Commented Feb 2, 2013 at 16:31

2 Answers 2

16

Each question and answer has a share link underneath it. If you click on that, a small box with a link will pop up. You can then simply copy that link and paste into your answers.

picture of share link

It's helpful to insert the question itself as the text of the link. You do this in markup in the following way:

[ text here ](link here)

If the link is to a question, then the title of that question will be automatically inserted. So

 https://tex.meta.stackexchange.com/q/1139/83 ask about linking to answers.

will display as

How do I create a link to an answer? ask about linking to answers.

4
  • 1
    See also Automatic question's title insertion with link about automatic titles.
    – N.N.
    Commented May 3, 2012 at 9:50
  • Nowadays the button link is renamed in share...
    – e-birk
    Commented Feb 2, 2013 at 11:30
  • @e-birk Thanks for the comment. I've updated the answer.
    – Alan Munn
    Commented Feb 2, 2013 at 14:38
  • 1
    For what it's worth, I think renaming link to share was a mistake. I have often wanted to create a link to an answer, and not known how to find the link. I had always assumed that the share button would give me options to connect to Facebook, Twitter, and so on, which I never use. The word link is much more appropriate for this feature. Commented May 17, 2013 at 6:42
3

There is now a stackapp Greasemonkey script which will give you a copy button similar to the link button below posts: Copy Question Link Markdown - Making it easier to copy links to questions! It provides you with the [<title>](<url>) format required. You can use it in comments and also in question or answer posts.

I found a few issues with the script and rewrote parts of it. The revised version can be found as answer to the above stackapps post.

You must log in to answer this question.

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