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

When linking to other StackOverflow questions -- be it in a comment, question, or answer -- it would be nice to have better default rendering.

Right now, just pasting in the URL results in this:

Hey, I think you should look at this other question: http://stackoverflow.com/questions/8050056/...

Or there's this option:

Part of your question is answered over here.

Neither one of those gives people any idea what they're clicking on. It would be nice instead to have something like:

Hey, I think you should look at this other question: [SO logo]Scale down (but not up) images using CSS to fit div container in IE9 (max-width: 100% fix)[checkbox if answered]

There is already a "Linked" sidebar, so clearly there is an intention to call out links as helpful, and the database query that gets the title of the linked question is in place. I merely suggest we move this inline.

share|improve this question
Are you suggesting something like this? – gobernador Jul 23 '12 at 16:32
Yes, but a smaller, inline version, and not just in meta. Also, you sort of make my point with your "this" link ;) – Martin Burch Jul 23 '12 at 16:43
Well, I'd be hesitant to change anything about links in comments – gobernador Jul 23 '12 at 16:48

1 Answer 1

You can, of course, do most of that with Markdown.

![SO](http://cdn.sstatic.net/stackoverflow/img/favicon.ico) [Title of question](url to question)

It would look like this: SO Improved default linking to other questions

Not sure if the "answered" indication is needed.

As the comments say, you can't post icons in comments, only in questions or answers. The link part works in a comment too though.

share|improve this answer
Cool! It would also be nice if that solution worked in comments, and if the markup could be generated automatically. – Martin Burch Jul 23 '12 at 16:47
Images are not supported in comments. – Martijn Pieters Jul 23 '12 at 16:48
Too much effort to post a link in a comment, though. – nhahtdh Jul 23 '12 at 16:52
Ehm, just as much effort as posting it in an answer, I'd say. – Mr Lister Jul 23 '12 at 17:01
@nhahtdh how so? Because in a comment you have to type []() yourself instead of using your mouse to highlight text and click a button above the textbox? 6 of one, half dozen of the other, to me... – Aaron Bertrand Jul 23 '12 at 17:18
@AaronBertrand: If I post link in comment, I copy and paste the link - done. Comment (as in the container) is rubbish, and should be treated as so. For example: meta.stackexchange.com/questions/140853/… – nhahtdh Jul 23 '12 at 17:19
@nhahtdh still don't understand what's rubbish about placing some context instead of the URL which gets truncated anyway, or why that's any harder in a comment than in a question. – Aaron Bertrand Jul 23 '12 at 17:23
@AaronBertrand: Just pure laziness. I do put effort in writing a proper answer, though. And comments to clarify/argue must be clear. Posting link to another question don't need such treatment, for me at least. – nhahtdh Jul 23 '12 at 17:24
@nhahtdh ok, so the problem is not about effort, it's that you value comments less than most people paying attention to this question. – Aaron Bertrand Jul 23 '12 at 17:29

You must log in to answer this question.

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