Correct way to add image with link?

Duplicate of this question, also by OP.

I suggested the same Kramdown answer there.