YAML

  • can change the output format e.g. pdf_document
  • default means you are using default settings, but when you want a theme, it needs to use the readable theme so delete default
    • other themes include cerulean, journal, flatly, darkly spacelab, cosmo, yeti, paper, lumen etc.
  • YAML picky about indentation and when you include things or not
  • floating toc stays visible

Markdown

This is plain markdown - please see my_first_markdown.md for stylisation.

  1. Italics
  • Bold
  1. Blockquote

Hi!

  1. Continuing on
    1. I could put a picture here too.

R Chunk

print("hello world :D")
## [1] "hello world :D"

^ R code and subsequent output


Equations

  • Anything inside dollar signs is treated as inline maths
  • Anything using two dollar signs is a standalone equation
  • \[2+2\] vs $2+2
  • Equations follow LaTEX rules