10

Is it possible to show image in GitHub markdown without it automatically wrapping it in a link to "full version"?

It does so even for small icons and logos, which is rather annoying.

1 Answer 1

1

Best answer I could come up with is wrapping the image in

<a></a>

which besides having an additional DOM element works great.

Edit: <a href="#"></a> works as well but the image retains cursor: pointer.

1
  • 1
    with a tag, it has link to raw image, and with href="#" attribute it point to the beginning of the page. not a good solution for me.
    – logoff
    Apr 13, 2015 at 9:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.