4

How to parse & hide links in texts in comments like my profile .Right now i can only do this much: https://hinduism.meta.stackexchange.com/users/4732/rickross?tab=profile.

It is easy to do so in questions or answers but how to do it in comments as well?

| |
  • You have posted your profile page in both the links. Is it intended? The question should be made clearer. I couldn't guess, what you are asking. – iammilind Nov 16 '16 at 6:05
  • Yes that was intended.I used my profile page as a sample link.In comments i am unable to hide links in texts like i did in this question. – Rickross Nov 16 '16 at 6:14
7

Comments on any Stack Exchange site, use a subset of the original markdown rules, which is called as Mini Markdown.

The general format, if you want to hide the link in your comment, is:

[Description](http://link)

The Anchor text of the link goes with the square brackets and the link goes into the parenthesis.

Hence below link:

https://hinduism.meta.stackexchange.com/users/4732/rickross?tab=profile

will look like:

this.

This technique can be used in the answers as well.

Another useful trick is to provide a title text for your links. This can be done using the following format.

[Description](http://link "<title>")

Hence, when you hover over the following

this.

You will notice a small pop up text, that reads "Profile of Rickross". This may not be compatible with all mobile browsers though.

  • Yes this is what i wanted.Thanks. – Rickross Nov 16 '16 at 6:38
  • 3
    You can add this link which may be useful. – The Destroyer Nov 16 '16 at 8:16
  • 3
    You can even use markdown to make links like these which provide a title text when you hover your pointer on the link. – Bhargav Rao Nov 18 '16 at 13:49
  • 3
    I can't edit your post, I don't have the required reputation. The markdown for it is, [The link text](://link/to/post "The title text"). :) – Bhargav Rao Nov 18 '16 at 14:13
5

This is old thread but for the trivial information.

There is a help button below the Add Comment button which opens the comment editing markdown help div.

enter image description here

Which have the short editing manual for commenting.

| |
  • 1
    Thanks a lot..this is easiest method actually..no need to memorise anything at all.. – Rickross Dec 12 '16 at 6:12
  • 1
    @Rickross glad could help, but as a active user it will be good if you memorize them. :) – Abhishek Gurjar Dec 12 '16 at 6:23
  • Yes,now i can do it from memory... – Rickross Dec 12 '16 at 6:25

You must log in to answer this question.

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