5

When I type a URL in angle brackets, such as <http://www.example.com&gt;, in a comment, the URL is not detected and linked. Supporting this would allow links to be used more naturally in the flow of text in a comment.

This notation is recommended for embedding URLs in running text by RFC 2396; quotes are also recommended (I do not know if quotes work or not).

2

I looked at this, but it'd be another regex pass on every single comment as it is displayed.

IMO the <http://example.com> syntax isn't useful enough to justify its presence in the comment subset -- just type the bare URL, or use the supported [link](http://example.com) syntax.

8

You can just put the bare URL and it will be linked. As an alternative to that, you can make a link say whatever you want (including the text of the URL) if you surround the text with [] followed by the URL in ().

[<http://www.example.com>](http://www.example.com)

See the working example below.

0

Just add the raw url. SO will automatically make it a live link. See the comment for an example.

  • example.com – jjnguy Jul 11 '10 at 5:49
  • The above comment was created from the source markdown: http://www.example.com – jjnguy Jul 11 '10 at 5:50
  • 1
    Yes, adding raw links works. However, it can be quite useful to use a delimiter, particularly if the URL is followed by text which is a valid URL character (such as a comma). – Michael Ekstrand Aug 16 '10 at 2:42

You must log in to answer this question.

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