:ferris_wheel: A playground of enhancements and extensions for xaringan slides.
Added panelset chunks that output code chunks source and results in separate panel tabs (#59)
Added broadcast, a new experimental extension that allows viewers to follow the presenter's slides in their own browsers (thanks @spcanelon, #51, #58)
Changing a panelset tab now emits a window resize event in hopes that any HTMLwidgets contained in the panel will resize to fit the panel container (thanks @mfherman #64)
.tabset
feature in R Markdown documents! See the panelset documentation
for more information and examples (#41).style_share_again()
: fixed default arguments,
the buttons now correctly inherit the foreground color, and slides without an
author or title are handled correctly (thanks @mattwarkentin, #48).<iframe
> in
another page. Another function embed_xaringan()
is provided to embed slides
in blogdown and R Markdown HTML sites in a responsive container.Various updates do use_logo()
documentation. The class to hide the logo is
.hide_logo
and the logo CSS and JavaScript are embedded directly for
xaringan >= 0.16 (thanks @chainsawriot, #22, #24, #25, #30)
Updated cookie settings when storing editable fields (#42)
Disabled spell check and auto complete in editable areas (#16)
The CSS variables for panelset have been renamed and the arguments of
style_panelset_tabs()
haven been updated for ease of use. Unfortunately, this
change is not backwards compatible; using the previous argument names will
result in an informative warning without throwing an error. The panelset
also does a better job of handling many tabs, which are now wrapped into
multiple lines of tabs. (thanks @realauggieheschmeyer, #37, #38, #39).
In conjunction with the item above, the style_panelset()
has been renamed
style_panelset_tabs()
. This more clearly describes the part of the panelset
that is styled, and it helps clarify the meaning of the more concise function
argument names.
Increased specificity of CSS rules for the panelset.
Added --panel-tab-background-color
with additional -active
and -hover
custom properties to style the background color of tabs. Similarly, two
CSS variables for border color were added: --panel-tab-border-color-active
and --panel-tab-border-color-hover
.
Updated Tachyons to 4.12.0 (#27)
Added clipboard extra with use_clipboard()
. Adds a "Copy Code" button
to code chunks (<pre><code>...</code></pre>
) and works in both xaringan
slides and R Markdown documents (thanks @mattwrkentin #20, #36).