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

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 at 15:34
add comment

2 Answers

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
add comment

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
add comment

You must log in to answer this question.

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