Check out example codes for "rmarkdown revealjs_presentation remove black border to images". It will help you in understanding the concepts better.

Code Example 1

<img src="/home/user/photo.jpg" style="background:none; border:none; box-shadow:none;">

Learn ReactJs, React Native from akashmittal.com