the video is on a loop muted {background-video='video.mp4'}
believe it is only .mp4 files that work
Bullets
When you click the Render button a document will be generated that includes:
Content authored with markdown
Output from executable code
Code
When you click the Render button a presentation will be generated that includes both content and the output of embedded code. You can embed code like this:
[1] 3
# A tibble: 6 × 14
name height mass hair_color skin_color eye_color birth_year sex gender
<chr> <int> <dbl> <chr> <chr> <chr> <dbl> <chr> <chr>
1 Luke Sky… 172 77 blond fair blue 19 male mascu…
2 C-3PO 167 75 <NA> gold yellow 112 none mascu…
3 R2-D2 96 32 <NA> white, bl… red 33 none mascu…
4 Darth Va… 202 136 none white yellow 41.9 male mascu…
5 Leia Org… 150 49 brown light brown 19 fema… femin…
6 Owen Lars 178 120 brown, gr… light blue 52 male mascu…
# … with 5 more variables: homeworld <chr>, species <chr>, films <list>,
# vehicles <list>, starships <list>
this has no # header
level 1 alert
level 2 alert
4 dashes equal new slide page
you can explicitly list increment/ decrement by using a div with a class like
:::{.incremental}
- bullet point
:::
add incremental: true after/ underneath
format: revealjs: in the yaml top section
pause, for effect
you can pause the …
the content, you know
it takes 4 :::: for a new page
it takes 3 ::: for column section
Columns left | right
Left column
lorem ipsum yadda
right column
lorem ipsum squareroot sum
Got too much content?
use the class ## Small Title {.smaller}
need to add smaller: true in yaml section
Scrollable Title
can you find scroll 10 ?
scroll 1
scroll 2
scroll 3
scroll 4
scroll 5
scroll 6
scroll 7
scroll 8
scroll 9
scroll 10 you won!
need to add scrollable: true in yaml section
Speaker Notes
Oh speaker, here are your notes. Press the S key for speaker view
Footnote
The Death Star is under construction1
if you want footnotes included
add reference-location: document in the yaml
Footer & Logo
Globally add a footer & logo to all slides
just add
logo: mylogo.png
footer: "footer text"
in the yaml section
Custom Footer
you can have customized footers !
::: footer
this is a special request footer
:::
Highlighters
You have special code that needs some focus on, then use code-line-numbers in the {} code block.
Python Code, this highlight the random range function call, this argument can take a range “4-5” if you wanted.