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?
1Related: 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.– doncherryFeb 2, 2013 at 16:31
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.
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.
1See also Automatic question's title insertion with link about automatic titles.– N.N.May 3, 2012 at 9:50
Nowadays the button
linkis renamed in
share...– e-birkFeb 2, 2013 at 11:30
@e-birk Thanks for the comment. I've updated the answer. Feb 2, 2013 at 14:38
1For what it's worth, I think renaming
sharewas 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
sharebutton would give me options to connect to Facebook, Twitter, and so on, which I never use. The word
linkis much more appropriate for this feature. May 17, 2013 at 6:42
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.