366

Can we please have these?

I would like to be able to write something like [Inline Link](http://example.com/) and have it work in a comment instead of "Inline Link - http://example.com/".

Case in point (not my comment):

Long link

Doesn't that look smashing?

20
  • 3
    If you need to put that much information, why doesn't a full-fledged answer work for you?
    – random
    Feb 1 '10 at 7:08
  • 5
    Related: meta.stackexchange.com/questions/6407/…
    – Ether
    Feb 1 '10 at 7:22
  • 16
    random: Because many comments are not answers.
    – bignose
    Mar 23 '10 at 11:48
  • 1
    Yeah Thats Sooooo Cooooooool!
    – YOU
    Apr 1 '10 at 8:53
  • 6
    Thanks Jeff for implementing this! Apr 1 '10 at 8:57
  • So this is done? Yes!
    – Josh K
    Apr 4 '10 at 17:30
  • hella good!
    – bobobobo
    Aug 23 '10 at 21:41
  • I gave up on this a long time ago and haven't check back until now. This is great. Thanks, guys :)
    – macek
    Sep 6 '10 at 18:40
  • 2
    Inline Link
    – Umer Hayat
    Jun 26 '12 at 12:52
  • 15
    It's heavily annoying that comment link markdown is different than post link markdown !!
    – metadings
    Apr 19 '13 at 10:44
  • 2
    I have to try this. Sep 25 '13 at 13:54
  • Is there any way to link to other answers with fragment URLs? E.g. [this question's accepted answer](#37761).
    – opello
    Jun 28 '14 at 22:13
  • @opello That would be assuming that other answers are present on the same page. Which need not be the case when there are many answers, or when a post is exported from SE and imported into software that shows posts in a different way. Introducing a feature to make links more fragile is not a good idea.
    – user259867
    Jun 28 '14 at 22:45
  • @Thisismuchhealthier Ah, that makes sense. So would a best practice be to just use the 'share' link? My goal was obviously not fragility, it just seemed bad form to redirect if the content was already loaded.
    – opello
    Jul 1 '14 at 2:56
  • 3
    Does anyone know why this change didn't retroactively render old comments following the appropriate syntax as hyperlinks? E.g. see the first comment here. Nov 30 '15 at 21:26
349

Looks like this was added. You do it just as described in the question:

[Inline Link](http://foo.com)

11
  • This definitely wasn't added on the 26th of February, it's been around much much longer than that. With the status-completed tag on the original question, why was it necessary for you to answer this? Mar 22 '13 at 13:04
  • 9
    Sorry, I didn't notice the status-completed tag, I just looked at the accepted answer...but it seems that at least two people must have missed it also and found my answer helpful, so I don't see the harm in leaving it... Mar 22 '13 at 23:40
  • 31
    Make that 3 people :)
    – Paul
    Apr 2 '13 at 4:50
  • 4
    Inline Link
    – Patt Mehta
    Dec 18 '13 at 14:24
  • 4
    Make sure there are no spaces between the closing ] and opening ( though.
    – Kerem
    Jan 7 '15 at 2:12
  • 3
    Make that 179 people :)
    – Ergwun
    Dec 7 '17 at 11:17
  • 1
    if your link comment like this [ Inline Link](http://foo.com) , this will give you error because you have space near on the bracket,you have to remove those space to avoid error link comment Apr 20 '18 at 2:10
  • 1
    make it 200 people Jun 6 '19 at 1:26
  • 1
    Note: the "http://" part is mandatory. You can't just put a shortened URL like "foo.com/bar".
    – dim
    Jun 26 '19 at 8:28
  • 2
    Why can I never remember this syntax!
    – voices
    Jul 31 '19 at 15:53
  • 2
    Make it 281 people Dec 31 '19 at 16:15
40

I think this should be allowed. If you can add links (and you can), why can't you give them meaningful names?

Take Æther's post as an example, he could have just said "related proposal". Looks much better.

1
  • 3
    I got the Insight badge for this... Good since my answer was very insightful Oct 28 '11 at 19:23
11

I know I've wished for this feature a number of times, for adding a link to someone else's answer. Particularly because it was a comment to someone else's answer, it wasn't appropriate to add a separate answer.

Comments should generally be short—true. I think allowing this feature would make comments shorter and more readable.

The comment length limit should still be a valid incentive for people to keep comments short (I assume the links would continue to "use up" the comment length limit).

2
  • 8
    yes, shorter and more readable is always an excellent goal -- implemented! Apr 1 '10 at 9:39
  • Nice Amswer, and glad you guys championed this.
    – ouflak
    Jul 18 '17 at 10:14

You must log in to answer this question.

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