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

When I type a URL in angle brackets, such as <http://www.example.com>, 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).

share|improve this question

3 Answers 3

up vote 2 down vote accepted

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.

share|improve this answer

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.

share|improve this answer
    
<http://www.example.com> –  Bill the Lizard Jul 11 '10 at 2:42
    
Thank you - this does work as a work-around. I had not thought of it (I did not realize that the subset of Markdown supported in comments includes titled hyperlinks). –  Michael Ekstrand Aug 16 '10 at 2:43

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

share|improve this answer
    
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
    
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 .