102 * c[1]
{.r}
~~~~~~~~~~ code including tildes ~~~~~~~~~~
```r ~~~~ {#mycode .r .numberLines startFrom="100"} # --- Abs qsort() = 1 +a[4] qsort (x:xs) = qsort (filter (< x) xs) ++ [x] ++ qsort (filter (>= x) xs) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The limerick packs laughs anatomical | In space that is quite economical. | But the good ones I've seen | So seldom are clean | And the clean ones so seldom are comical
| 200 Main St. | Berkeley, CA 94718
https://pandoc.org/MANUAL.html#pandocs-markdown
knitr::opts_chunk$set(echo = TRUE)
ooo
3 + 2 line()
{.r}
This is an inline link, and here's one witha title
Here is an inline note.^[Inlines notes are easier to write, since you don't have to pick an identifier and move down to type the note.]
(1) aaa (2) fff
https://pandoc.org/MANUAL.html#definition-lists
Term 1
: Definition 1
Term 2 with inline markup
: Definition 2
{ some code, part of Definition 2 } Third paragraph of definition 2.
https://pandoc.org/MANUAL.html#definition-lists
Term 1
: Definition with lazy continuation.
Second paragraph of the definition.
https://pandoc.org/MANUAL.html#definition-lists
Term 1 ~ Definition 1
Term 2 ~ Definition 2a ~ Definition 2b
item two
{ my code block }
https://www.tablesgenerator.com/markdown_tables https://help.github.com/articles/organizing-information-with-tables
First row 12.0 Example of a row that spans multiple lines.
Second row 5.0 Here's another one. Note the blank line between rows.
: Here's a multiline table without headers.
tbl_3 <- c( "
: The name of the grid table.
+---------------+---------------+--------------------+ | Auto-aligned | Centered | Right-aligned | +===============+:=============:+===================:+ | Row_1_Col_1 | Row_1_Col_2 | - Row_1_Col_3a | | | | - Row_1_Col_3b | +---------------+---------------+--------------------+ | Row_2_Col_1 | Row_2_Col_2 | - Row_2_Col_3a | | | | - Row_2_Col_3b | +---------------+---------------+--------------------+
"
tbl_3 <- c( "
: The name of the multi-row table
Left-aligned Centered column Right-aligned
Row_1_Col_1 Row_1_Col_2 Row_1_Col_3
Row_2_Col_1 Row_2_Col_2 Row_2_Col_3
"
tbl_1 <- c( " : The name of the table
| Auto-aligned | Left-aligned | Centered | Right-aligned |
| ------------- | :------------ | :-----------: | ------------: |
| Row_1_Col_1 | Row_1_Col_2 | Row_1_Col_3 | Row_1_Col_4 |
| Row_2_Col_1 | Row_2_Col_2 | Row_2_Col_3 | Row_2_Col_4 |
| Row_3_Col_1 | Row_3_Col_2 | Row_3_Col_3 | Row_3_Col_4 |
"
: The name of the table
| Left-aligned | Left-aligned | Centered | Right-aligned |
|--- |:--------------| :-----: | --------:|
| Row_1_Col_1 | Row_1_Col_2 | Row_1_Col_3 | Row_1_Col_4 |
| Row_2_Col_1 | Row_2_Col_2 | Row_2_Col_3 | Row_2_Col_4 |
| Row_3_Col_1 | Row_3_Col_2 | Row_3_Col_3 | Row_3_Col_4 |
: The name of the table.
| Auto-aligned | Left-aligned | Centered | Right-aligned | | ------------- | :------------ | :-----------: | ------------: | | Row_1_Col_1 | Row_1_Col_2 | Row_1_Col_3 | Row_1_Col_4 | | Row_2_Col_1 | Row_2_Col_2 | Row_2_Col_3 | Row_2_Col_4 | | Row_3_Col_1 | Row_3_Col_2 | Row_3_Col_3 | Row_3_Col_4 |
: The name of the grid table.
+---------------+---------------+--------------------+ | Auto-aligned | Centered | Right-aligned | +===============+:=============:+===================:+ | Row_1_Col_1 | Row_1_Col_2 | - Row_1_Col_3a | | | | - Row_1_Col_3b | +---------------+---------------+--------------------+ | Row_2_Col_1 | Row_2_Col_2 | - Row_2_Col_3a | | | | - Row_2_Col_3b | +---------------+---------------+--------------------+
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.