Description Usage Arguments Details Note References
This output format produces an HTML file that contains the Markdown source
(knitted from R Markdown) and JavaScript code to render slides.
tsukuyomi()
is an alias of moon_reader()
.
1 2 3 4 5 |
css |
A vector of CSS file paths. Two default CSS files
(‘default.css’ and ‘fonts.css’) are provided in this package,
which was borrowed from https://remarkjs.com. If the character vector
|
self_contained |
Whether to produce a self-contained HTML file. |
seal |
Whether to generate a title slide automatically using the YAML
metadata of the R Markdown document (if |
yolo |
Whether to insert the
Mustache
Karl (TM) randomly in the slides. |
chakra |
A path to the remark.js library (can be either local or remote). |
nature |
(Nature transformation) A list of configurations to be passed
to |
... |
For |
Tsukuyomi is a genjutsu to trap the target in an illusion on eye contact.
If you are unfamiliar with CSS, please see the xaringan wiki on Github providing CSS slide modification examples.
Do not stare at Karl's picture for too long after you turn on the
yolo
mode. I believe he has Sharingan.
Local images that you inserted via the Markdown syntax
![](path/to/image)
will not be embedded into the HTML file when
self_contained = TRUE
(only CSS, JavaScript, and R plot files will
be embedded). You may also download remark.js (via
summon_remark()
) and use a local copy instead of the default
chakra
argument when self_contained = TRUE
, because it may be
time-consuming for Pandoc to download remark.js each time you compile your
slides.
Each page has its own countdown timer (when the option countdown
is
set in nature
), and the timer is (re)initialized whenever you
navigate to a new page. If you need a global timer, you can use the
presenter's mode (press P).
http://naruto.wikia.com/wiki/Tsukuyomi
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.