Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 157 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Is there a way to type in a link in the comments but while keeping the "http://" prefix visible?

Eg. when I type in http://10.0.0.10/wp/ it's converted to 10.0.0.10/wp/ in comments. I'd like it to be displayed just as I typed it, or at least I need some way to make it look like the original...

share|improve this question
1  
http://10.0.0.10/wp/ See my answer below on how to do this – Oleksi Jun 14 '12 at 16:19
    
The proposed answers are certainly viable workarounds. I submit that the original default behavior is still suboptimal. There's no advantage to removing the "http://" prefix from the displayed text, and doing so has the potential to cause needless confusion. I'd suggest that http://10.0.0.10/wp/ would be a better default behavior than 10.0.0.10/wp/. Low-priority wishlist item. – keshlam Jan 2 '14 at 15:34
up vote 7 down vote accepted

You use the link syntax:

[Link with HTTP](Address)
[http://10.0.0.10/wp/](http://10.0.0.10/wp/)

This will keep the http:// part of the URL in your comment.

share|improve this answer
1  
Great, makes perfect sense and I was thinking about how to do this for 10 minutes before asking... – Miljenko Barbir Jun 14 '12 at 16:34

If the link appearing as a link (something you can click on) is not important, you can simply wrap it in back ticks:

`http://10.0.0.10/wp/`

which appears as such:http://10.0.0.10/wp/

share|improve this answer

You must log in to answer this question.

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