In late 2016, Yihui discovered remark.js [@remarkjs] and loved it at the first sight. A few weeks later in the R Markdown ecosystem [@R-rmarkdown], an R package was born and named xaringan [@R-xaringan], which nobody knows how to pronounce (including Yihui himself, because it was adapted from the Japanese manga series Naruto by @naruto). Anyway, this package has gained some popularity, and some CSS ninja have started contributing themes to it. One day, Yihui was thinking about creating a gallery for existing themes in xaringan. After a few replies in the Github issue, he realized there might be enough topics on xaringan for a short book. Accidentally, he invented a new development model for writing books: the Github-issue-driven book development.
We are a team of shinobi and kunoichi who wish to share the fun and secrets of the xaringan package with you.
::: member-cards
Lead author, and the ninja theme author
Emi laid out the first sketch of the book, which made Yihui believe that the book had been half-done.
Contributor of xaringan
"Count me in," replied Joseph when Yihui asked who wanted to co-author the book.
Host of the R Podcast
Yihui is eager to know how much Eric's writing is better than his magnetic voice.
Main author of xaringan
Yihui knows a bit about R/HTML/CSS/JS and wrote knitr [@R-knitr], which became a cornerstone of R Markdown. :::
[All pictures above are from the authors' Github profiles. This poster was created via the R package pagedown.]{.disclaimer}
lorem = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, qui officia deserunt mollit anim id est laborum.'
r lorem
r paste('-', strwrap(lorem, 230), collapse = '\n')
```{css, echo=FALSE} .section-4 { background-image: url(https://upload.wikimedia.org/wikipedia/commons/7/7e/Mudra-Naruto-KageBunshin.svg) !important; background-size: 40% !important; background-position: right top !important; background-repeat: no-repeat !important; }
## Outline (2018-12-15) `r lorem` ## Content (2019-03-01) `r lorem` ## Review and revision (2019-03-31) `r lorem` ## Copyediting (2019-04-20) `r lorem` ## Publishing (2019-05-30) `r lorem` [Contents]{.green} ================================================================================ `r lorem` `r lorem` ```r # some nice R code here 1 + 1 fit = lm(dist ~ speed, cars)
r lorem
r lorem
$$\bar{X}=\frac{1}{n}\sum_{i=1}^nX_i$$
r lorem
knitr::write_bib(c('knitr', 'rmarkdown', 'xaringan'), 'packages.bib')
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.