From…
Last…
Time!
I’ve got it all – I’m bold, italicised, and monospaced
!
## From...
### Last...
#### Time!
I've got it **_all_** -- I'm **bold**, _italicised_, and `monospaced`!
From Last Time!
Code Chunks
```{r}
x <- 3
y <- 5
x + y
```
New Today: Inline Code
The best class ever is STAT 133!
The best class ever is STAT `r 3743 %% 190`!
Links and Images
Links
To add a link, use [<description>](<link>)
.
Images
To add an image, use ![<description>](<link>)
.
Some Notes
- The link can be a local file path or a URL.
- The description is optional for images.
- Surround links with angled brackets (
<...>
) to make the link itself visible.
Link Example
I know everybody uses that website…
But have you tried https://duckduckgo.com/?
I know everybody uses [_that_](https://www.google.com/) website...
But have you tried <https://duckduckgo.com/>?
Image Example
![An image of Franz Liszt playing the piano!](https://upload.wikimedia.org/wikipedia/commons/8/86/Boesendorfer_Liszt_Franz_Joseph.jpg)
An image of Franz Liszt playing the piano!
\(\LaTeX\)
You can also include \(\LaTeX\) in the file.
Inline Math
If you’d like math directly alongside your text, surround \(\LaTeX\) with single dollar signs ($
).
Isn’t this math, \(\sum_{i = 1}^n x^2\), so… pulchritudinous1?
Isn't this math, $\sum_{i = 1}^n x^2$, so... _pulchritudinous_?
\(\LaTeX\)
You can also include \(\LaTeX\) in the file.
Math “Blocks”
If you’d prefer it be given its own centered line, surround \(\LaTeX\) with double dollar signs ($$
).
\[
\sum_i^n x^2
\]
Cheatsheets and Helpful Links