This is addition to the text formatting mentioned above. In the case of R, and Markdown as an example of a document Markdown language, it provides a means to embed - and actually run - R code from within a single document, all using simple syntax coding.
html format for browsers or many different text formats. Formats are fairly flexible, including output in. You “markdown” text, including, for example, document formatting such as boldface, headers, lists, and mathematical symbols and equations, pictures, links to other files or webpages - in short, just about anything you see on a webpage, journal article, or book, can be constructed using Markdown. It evolved as means to embed formatting syntax into a document and have it rapidly and easily converted to a desired format.
Markdown still involves embedding additional elements into a document, but has a slightly different purpose.
For example, by clicking the “REVIEW” tab on a MS Word document you initiate a “markup” process where a reviewer’s comments and editorial suggestions are shown on the document. A document markup language is a way to distinguish basic text from other document elements, such as those that occur during an editorial review. Markdown is a form of document markup language.