Section B.11 Summary of Common R Markdown Syntax
In addition to R functions, R Markdown relies on a small set of Markdown syntax rules to format text and structure documents. These elements are not functions, but they are essential for writing clear, readable, and professional reports.
-
Text emphasis:
-
*text*: Italicizes text. -
**text**: Bolds text. -
***text***: Bold and italic text.
-
-
Headings:
-
#: Primary heading (chapter-level). -
##: Section heading. -
###: Subsection heading.
-
-
Lists:
-
-: Creates a bulleted list. -
1.: Creates a numbered list. -
[ ]: Creates a checklist.
-
-
Links:
-
[text](url): Creates a clickable hyperlink.
-
-
Images:
-
: Inserts an image into the document, with alternative text for accessibility.
-
-
Block quotes:
-
>: Highlights a block of text, often used for emphasis or reflection.
-
