A playground of enhancements and extensions for xaringan slides.
OTHER License
BREAKING CHANGE: All arguments to use_banner()
must be named. use_banner()
now takes ...
earlier since you may want to include style_banner()
style
arguments without having to specify all the other arguments (#169).
scribble can now be disabled on an individual slide by adding
class: no-scribble
to the slide (@mattwarkentin #166).
Embedding slides via embed_xaringan()
no longer requires that you set
self_contained: false
in the R Markdown document. embed_xaringan()
now
automatically sets the data-external="1"
attribute on the element embedding
the xaringan slides (thanks @jhelvy, @drfurtado, #177).
editable now hides remark's "Paused" overlay when editing slides in
presenter mode (#178).
@jhelvy, @drfurtado, @mattwarkentin
Published by gadenbuie over 2 years ago
use_banner()
. Banners are text (or otherSideways panelsets collapse to standard panelsets with tabs above the content
on small devices (max-width 480px). (#122)
Keep sideways panelset tabs on screen with long-scrolling content. (#123)
The panelset=TRUE
chunk option now automatically sets results="hold"
unless over-ridden by a local chunk option.
share again no longer shows when viewing slides in the RStudio viewer pane. (#128)
use_xaringan_extras("panelset")
is now equivalent to use_panelset()
.
Previously the first would not install the knitr chunk hooks.
panelset now uses the xaringan knitr source hooks, restoring line highlighting
in the source panel of panelset chunks. (#138)
Hide scribble controls when printing slides (thanks @yyzeng, #136).
text_poster()
has been removed.
Published by gadenbuie over 3 years ago
Added color presets to scribble: press 0
through 9
while drawing to
quickly toggle through a preset color palette, customizable using the
palette
argument of use_palette()
(thanks @kim-soo-hwan, #112, #117).
New feature: animated progress bars that don't interfere with the slide
number. Simply add use_progress_bar()
to your slides! (#109, #118)
Published by gadenbuie over 3 years ago
New extension: Always play gifs from the start with use_freezeframe()
(#102)
rgb()
syntax by calling the rgb()
function in R: instead of"rgb(61, 255, 232)"
, you can write rgb(61, 255, 232, maxColorValue = 255)
.New addin: scribble! Now you can draw on your slides! Huge thanks to
@mattwarkentin for developing and contributing this extension. With
use_scribble()
you can draw on your slides using your mouse or a tablet with
stylus. Drawings stay with each slide and scale when the slides are resized.
You can erase individual lines, undo or redo with keyboard shortcuts, or clear
the drawings on the current slide easily with the provided toolbox.
Thanks also to @LauraRK and @rpruim for suggestions and feedback.
(@mattwarkentin #87)
New addin: search! Easily search through the text in your slides.
(thanks @statnmap, #82)
All extensions now use version numbers that are independent of the
xaringanExtra package version. This will reduce the number of copies of an
extension that are added to a blogdown site's dependencies by ensuring that
unrelated package updates don't change the extension version number.
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)
Published by gadenbuie about 4 years ago
.tabset
feature in R Markdown documents! See the panelset documentationPublished by gadenbuie about 4 years ago
style_share_again()
: fixed default arguments,<iframe
> inembed_xaringan()
is provided to embed slidesVarious 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)
Published by gadenbuie about 4 years ago
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).