Correct way to add image with link?

This link below works fine:

<a href="https://www.flipkart.com/cwna/p/itmdapyddgmzhrfr">![Buy Button](/assets/img/buttons/flipkart.png)</a>

How to do it in markdown?

![Buy Button](/assets/img/buttons/flipkart.png)("https://www.flipkart.com/cwsp/p/itmetjkahy4kbhaa")

Tried this didn’t work!

maybe like:
[![Foo](http://www.google.com.au/images/nav_logo7.png)](http://google.com.au/)

from:

thanks it did work…but i want the link to open in a new tab

I googled markdown link with target blank and found:

one of the answers says to try:
[link](https://talk.jekyllrb.com/){:target="_blank"}

worked for me.

Duplicate of this question, also by OP.

I suggested the same Kramdown answer there.