377

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
    Commented Feb 1, 2010 at 7:08
  • 5
    Related: meta.stackexchange.com/questions/6407/…
    – Ether
    Commented Feb 1, 2010 at 7:22
  • 21
    random: Because many comments are not answers.
    – bignose
    Commented Mar 23, 2010 at 11:48
  • 1
    Yeah Thats Sooooo Cooooooool!
    – YOU
    Commented Apr 1, 2010 at 8:53
  • So this is done? Yes!
    – Josh K
    Commented Apr 4, 2010 at 17:30
  • hella good!
    – bobobobo
    Commented Aug 23, 2010 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
    Commented Sep 6, 2010 at 18:40
  • 2
    Inline Link
    – Umer Hayat
    Commented Jun 26, 2012 at 12:52
  • 20
    It's heavily annoying that comment link markdown is different than post link markdown !!
    – metadings
    Commented Apr 19, 2013 at 10:44
  • 2
    I have to try this. Commented Sep 25, 2013 at 13:54
  • Is there any way to link to other answers with fragment URLs? E.g. [this question's accepted answer](#37761).
    – opello
    Commented Jun 28, 2014 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
    Commented Jun 28, 2014 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
    Commented Jul 1, 2014 at 2:56
  • Now that is solved can you @AlexBudovski change this to the accepted answer?
    – Persijn
    Commented Apr 15, 2015 at 12:33
  • 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. Commented Nov 30, 2015 at 21:26

3 Answers 3

365

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

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

3
  • 4
    Make sure there are no spaces between the closing ] and opening ( though.
    – Kerem
    Commented Jan 7, 2015 at 2:12
  • 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 Commented Apr 20, 2018 at 2:10
  • 1
    Note: the "http://" part is mandatory. You can't just put a shortened URL like "foo.com/bar".
    – dim
    Commented Jun 26, 2019 at 8:28
42

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 Commented Oct 28, 2011 at 19:23
12

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! Commented Apr 1, 2010 at 9:39
  • Nice Amswer, and glad you guys championed this.
    – ouflak
    Commented Jul 18, 2017 at 10:14

You must log in to answer this question.

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