In R Markdown, I am trying to add a caption to an image, but it is not showing. Using RStudio and "Knit to HTML" Code & screenshot of HTML are below. There is no caption, even though it is in the brackets.
# First test
## SubHeader 1
kl;jdafkjjdsfajk;

This similar question is unanswered, but it looks like "fig.cap" is needed. I tried adding {r fig.cap = "caption2- literally the most amazing apple ever"}
to the code (as line 5 in the above) but it did not work, it just printed the exact text that was entered, curly braces and all.