R markdown is a special flavor of the markdown language. It allows embedding R code chuncks, whose outputs, including plots, will be included in the rendered HTML or PDF-version of the document.
For writing R markdown documents, Rstudio provides a good GUI editor, and includes a R markdown primer.