RMarkdown supports the following syntax for images:
![This is the caption](/url/of/image.png)
Also, RMarkdown supports the following syntax for citation:
Blah blah [@smith04; @doe99].
We can combine the two and
![Blah blah [@smith04; @doe99].](/url/of/image.png)
is valid.
RStudio will inject/display the image for
![This is the caption](/url/of/image.png)
but it will not for
![Blah blah [@smith04; @doe99].](/url/of/image.png)
The next video illustrates this bug. RStudio will inject the image after complete the syntax for the image and the image will be removed when the citation is added.