Skip to content

Commit

Permalink
v0.7.0 (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
gadenbuie authored Jul 16, 2022
1 parent 6d37940 commit 5ebc3f0
Show file tree
Hide file tree
Showing 36 changed files with 2,532 additions and 2,353 deletions.
6 changes: 3 additions & 3 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: 0.6.0
Date: 2022-06-05 18:14:23 UTC
SHA: 0d1b5293498ccbb95c04f4e3b750604ff16d633f
Version: 0.7.0
Date: 2022-07-16 12:48:06 UTC
SHA: 8d946e24b11965b4eb87adf8e95deb2dd83ea842
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: xaringanExtra
Title: Extras and Extensions for 'xaringan' Slides
Version: 0.6.0.9000
Version: 0.7.0
Authors@R: c(
person("Garrick", "Aden-Buie", , "garrick@adenbuie.com", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-7111-0077")),
Expand Down
8 changes: 4 additions & 4 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# xaringanExtra (development version)
# xaringanExtra 0.7.0

* **scribble** can now be disabled on an individual slide by adding
`class: no-scribble` to the slide (@mattwarkentin #166).

* 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
Expand Down
4 changes: 1 addition & 3 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
## R CMD check results

0 errors | 0 warnings | 1 note

* This is a new release.
0 errors | 0 warnings | 0 notes
8 changes: 4 additions & 4 deletions docs/NEWS.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# xaringanExtra (development version)
# xaringanExtra 0.7.0

* **scribble** can now be disabled on an individual slide by adding
`class: no-scribble` to the slide ([@mattwarkentin](https://github.com/mattwarkentin) [#166](https://github.com/gadenbuie/xaringanExtra/issues/166)).

* 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](https://github.com/gadenbuie/xaringanExtra/issues/169)).

* **scribble** can now be disabled on an individual slide by adding
`class: no-scribble` to the slide ([@mattwarkentin](https://github.com/mattwarkentin) [#166](https://github.com/gadenbuie/xaringanExtra/issues/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
Expand Down
3 changes: 2 additions & 1 deletion docs/animate-css.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 📽 Animate.css

#### 📺 [Animate.css Demo](https://pkg.garrickadenbuie.com/xaringanExtra/animate-css/)
<div class="shareagain" style="min-width:300px;max-width:600px;margin:1em auto;"><iframe src="./animate-css//index.html" title="Animate.css Demo" width="400" height="300" loading=lazy></iframe></div>
<p align="right"><a href="./animate-css/" target="_blank">Animate.css Demo<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="12px" height="12px" viewBox="0 0 12 12" style="enable-background:new 0 0 12 12;fill:currentColor;height:1em;width:1em;top:0.18em;position:relative;" xml:space="preserve"><g id="Icons" style="opacity:0.75;"><g id="external"><polygon id="box" style="fill-rule:evenodd;clip-rule:evenodd;" points="2,2 5,2 5,3 3,3 3,9 9,9 9,7 10,7 10,10 2,10 "/><polygon id="arrow_13_" style="fill-rule:evenodd;clip-rule:evenodd;" points="6.211,2 10,2 10,5.789 8.579,4.368 6.447,6.5 5.5,5.553 7.632,3.421 "/></g></g><g id="Guides" style="display:none;"></g></svg></a></p>

[Animate.css](https://daneden.github.io/animate.css/) is a popular
collection of CSS animations. It contains
Expand Down
3 changes: 2 additions & 1 deletion docs/banner.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 📰 Banner

#### 📺 [Banner Demo](https://pkg.garrickadenbuie.com/xaringanExtra/banner/)
<div class="shareagain" style="min-width:300px;max-width:600px;margin:1em auto;"><iframe src="./banner//index.html" title="Banner Demo" width="400" height="300" loading=lazy></iframe></div>
<p align="right"><a href="./banner/" target="_blank">Banner Demo<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="12px" height="12px" viewBox="0 0 12 12" style="enable-background:new 0 0 12 12;fill:currentColor;height:1em;width:1em;top:0.18em;position:relative;" xml:space="preserve"><g id="Icons" style="opacity:0.75;"><g id="external"><polygon id="box" style="fill-rule:evenodd;clip-rule:evenodd;" points="2,2 5,2 5,3 3,3 3,9 9,9 9,7 10,7 10,10 2,10 "/><polygon id="arrow_13_" style="fill-rule:evenodd;clip-rule:evenodd;" points="6.211,2 10,2 10,5.789 8.579,4.368 6.447,6.5 5.5,5.553 7.632,3.421 "/></g></g><g id="Guides" style="display:none;"></g></svg></a></p>

`use_banner()` adds a banner to the top or the bottom of your slides.
Use banner to add the title of your talk, a link to your materials
Expand Down
3 changes: 2 additions & 1 deletion docs/broadcast.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 📡 Broadcast

#### 📺 [Broadcast Demo](https://pkg.garrickadenbuie.com/xaringanExtra/broadcast/)
<div class="shareagain" style="min-width:300px;max-width:600px;margin:1em auto;"><iframe src="./broadcast//index.html" title="Broadcast Demo" width="400" height="300" loading=lazy></iframe></div>
<p align="right"><a href="./broadcast/" target="_blank">Broadcast Demo<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="12px" height="12px" viewBox="0 0 12 12" style="enable-background:new 0 0 12 12;fill:currentColor;height:1em;width:1em;top:0.18em;position:relative;" xml:space="preserve"><g id="Icons" style="opacity:0.75;"><g id="external"><polygon id="box" style="fill-rule:evenodd;clip-rule:evenodd;" points="2,2 5,2 5,3 3,3 3,9 9,9 9,7 10,7 10,10 2,10 "/><polygon id="arrow_13_" style="fill-rule:evenodd;clip-rule:evenodd;" points="6.211,2 10,2 10,5.789 8.579,4.368 6.447,6.5 5.5,5.553 7.632,3.421 "/></g></g><g id="Guides" style="display:none;"></g></svg></a></p>

**Broadcast** lets others follow along, in real time! Built with
[PeerJS](https://peerjs.com), **broadcast** give you a unique URL to
Expand Down
3 changes: 2 additions & 1 deletion docs/clipboard.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 📋 Clipboard

#### 📺 [Clipboard Demo](https://pkg.garrickadenbuie.com/xaringanExtra/clipboard/)
<div class="shareagain" style="min-width:300px;max-width:600px;margin:1em auto;"><iframe src="./clipboard//index.html" title="Clipboard Demo" width="400" height="300" loading=lazy></iframe></div>
<p align="right"><a href="./clipboard/" target="_blank">Clipboard Demo<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="12px" height="12px" viewBox="0 0 12 12" style="enable-background:new 0 0 12 12;fill:currentColor;height:1em;width:1em;top:0.18em;position:relative;" xml:space="preserve"><g id="Icons" style="opacity:0.75;"><g id="external"><polygon id="box" style="fill-rule:evenodd;clip-rule:evenodd;" points="2,2 5,2 5,3 3,3 3,9 9,9 9,7 10,7 10,10 2,10 "/><polygon id="arrow_13_" style="fill-rule:evenodd;clip-rule:evenodd;" points="6.211,2 10,2 10,5.789 8.579,4.368 6.447,6.5 5.5,5.553 7.632,3.421 "/></g></g><g id="Guides" style="display:none;"></g></svg></a></p>

Add a “Copy Code” button for one-click code chunk copying.

Expand Down
3 changes: 2 additions & 1 deletion docs/editable.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 📝 Editable

#### 📺 [Editable Demo](https://pkg.garrickadenbuie.com/xaringanExtra/editable/)
<div class="shareagain" style="min-width:300px;max-width:600px;margin:1em auto;"><iframe src="./editable//index.html" title="Editable Demo" width="400" height="300" loading=lazy></iframe></div>
<p align="right"><a href="./editable/" target="_blank">Editable Demo<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="12px" height="12px" viewBox="0 0 12 12" style="enable-background:new 0 0 12 12;fill:currentColor;height:1em;width:1em;top:0.18em;position:relative;" xml:space="preserve"><g id="Icons" style="opacity:0.75;"><g id="external"><polygon id="box" style="fill-rule:evenodd;clip-rule:evenodd;" points="2,2 5,2 5,3 3,3 3,9 9,9 9,7 10,7 10,10 2,10 "/><polygon id="arrow_13_" style="fill-rule:evenodd;clip-rule:evenodd;" points="6.211,2 10,2 10,5.789 8.579,4.368 6.447,6.5 5.5,5.553 7.632,3.421 "/></g></g><g id="Guides" style="display:none;"></g></svg></a></p>

Editable gives you a way to write directly inside your slides, updating
your content live. Make any element of your slides editable by using the
Expand Down
2 changes: 1 addition & 1 deletion docs/editable/libs/editable/editable.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
document.body.classList.add('xe-editable_is-editing')
}

function removeIsEditingClass() {
function removeIsEditingClass () {
document.body.classList.remove('xe-editable_is-editing')
}

Expand Down
3 changes: 2 additions & 1 deletion docs/extra-styles.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 😎 Extra Styles

#### 📺 [Extra Styles Demo](https://pkg.garrickadenbuie.com/xaringanExtra/extra-styles/)
<div class="shareagain" style="min-width:300px;max-width:600px;margin:1em auto;"><iframe src="./extra-styles//index.html" title="Extra Styles Demo" width="400" height="300" loading=lazy></iframe></div>
<p align="right"><a href="./extra-styles/" target="_blank">Extra Styles Demo<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="12px" height="12px" viewBox="0 0 12 12" style="enable-background:new 0 0 12 12;fill:currentColor;height:1em;width:1em;top:0.18em;position:relative;" xml:space="preserve"><g id="Icons" style="opacity:0.75;"><g id="external"><polygon id="box" style="fill-rule:evenodd;clip-rule:evenodd;" points="2,2 5,2 5,3 3,3 3,9 9,9 9,7 10,7 10,10 2,10 "/><polygon id="arrow_13_" style="fill-rule:evenodd;clip-rule:evenodd;" points="6.211,2 10,2 10,5.789 8.579,4.368 6.447,6.5 5.5,5.553 7.632,3.421 "/></g></g><g id="Guides" style="display:none;"></g></svg></a></p>

### Extra Styles

Expand Down
3 changes: 2 additions & 1 deletion docs/fit-to-screen.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 📐 Fit to Screen

#### 📺 [Fit to Screen Demo](https://pkg.garrickadenbuie.com/xaringanExtra/fit-screen/)
<div class="shareagain" style="min-width:300px;max-width:600px;margin:1em auto;"><iframe src="./fit-screen//index.html" title="Fit to Screen Demo" width="400" height="300" loading=lazy></iframe></div>
<p align="right"><a href="./fit-screen/" target="_blank">Fit to Screen Demo<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="12px" height="12px" viewBox="0 0 12 12" style="enable-background:new 0 0 12 12;fill:currentColor;height:1em;width:1em;top:0.18em;position:relative;" xml:space="preserve"><g id="Icons" style="opacity:0.75;"><g id="external"><polygon id="box" style="fill-rule:evenodd;clip-rule:evenodd;" points="2,2 5,2 5,3 3,3 3,9 9,9 9,7 10,7 10,10 2,10 "/><polygon id="arrow_13_" style="fill-rule:evenodd;clip-rule:evenodd;" points="6.211,2 10,2 10,5.789 8.579,4.368 6.447,6.5 5.5,5.553 7.632,3.421 "/></g></g><g id="Guides" style="display:none;"></g></svg></a></p>

xaringan/remark slides scale at a consistent ratio when the browser
window is resized. In other words, if the slide ratio is `4:3`, then
Expand Down
3 changes: 2 additions & 1 deletion docs/freezeframe.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## ⏸️ FreezeFrame

#### 📺 [FreezeFrame Demo](https://pkg.garrickadenbuie.com/xaringanExtra/freezeframe/)
<div class="shareagain" style="min-width:300px;max-width:600px;margin:1em auto;"><iframe src="./freezeframe//index.html" title="FreezeFrame Demo" width="400" height="300" loading=lazy></iframe></div>
<p align="right"><a href="./freezeframe/" target="_blank">FreezeFrame Demo<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="12px" height="12px" viewBox="0 0 12 12" style="enable-background:new 0 0 12 12;fill:currentColor;height:1em;width:1em;top:0.18em;position:relative;" xml:space="preserve"><g id="Icons" style="opacity:0.75;"><g id="external"><polygon id="box" style="fill-rule:evenodd;clip-rule:evenodd;" points="2,2 5,2 5,3 3,3 3,9 9,9 9,7 10,7 10,10 2,10 "/><polygon id="arrow_13_" style="fill-rule:evenodd;clip-rule:evenodd;" points="6.211,2 10,2 10,5.789 8.579,4.368 6.447,6.5 5.5,5.553 7.632,3.421 "/></g></g><g id="Guides" style="display:none;"></g></svg></a></p>

FreezeFrame starts any gifs on a slide when you turn to that slide. This
helps alleviate the awkward pause that can happen when you turn to a
Expand Down
3 changes: 2 additions & 1 deletion docs/logo.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 💌 Logo

#### 📺 [Logo Demo](https://pkg.garrickadenbuie.com/xaringanExtra/logo/)
<div class="shareagain" style="min-width:300px;max-width:600px;margin:1em auto;"><iframe src="./logo//index.html" title="Logo Demo" width="400" height="300" loading=lazy></iframe></div>
<p align="right"><a href="./logo/" target="_blank">Logo Demo<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="12px" height="12px" viewBox="0 0 12 12" style="enable-background:new 0 0 12 12;fill:currentColor;height:1em;width:1em;top:0.18em;position:relative;" xml:space="preserve"><g id="Icons" style="opacity:0.75;"><g id="external"><polygon id="box" style="fill-rule:evenodd;clip-rule:evenodd;" points="2,2 5,2 5,3 3,3 3,9 9,9 9,7 10,7 10,10 2,10 "/><polygon id="arrow_13_" style="fill-rule:evenodd;clip-rule:evenodd;" points="6.211,2 10,2 10,5.789 8.579,4.368 6.447,6.5 5.5,5.553 7.632,3.421 "/></g></g><g id="Guides" style="display:none;"></g></svg></a></p>

`use_logo()` adds a logo to all of your slides. You can make the logo a
clickable link and choose where on the slide it is placed. You can also
Expand Down
3 changes: 2 additions & 1 deletion docs/panelset.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 🗂 Panelset

#### 📺 [Panelset Demo](https://pkg.garrickadenbuie.com/xaringanExtra/panelset/)
<div class="shareagain" style="min-width:300px;max-width:600px;margin:1em auto;"><iframe src="./panelset//index.html" title="Panelset Demo" width="400" height="300" loading=lazy></iframe></div>
<p align="right"><a href="./panelset/" target="_blank">Panelset Demo<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="12px" height="12px" viewBox="0 0 12 12" style="enable-background:new 0 0 12 12;fill:currentColor;height:1em;width:1em;top:0.18em;position:relative;" xml:space="preserve"><g id="Icons" style="opacity:0.75;"><g id="external"><polygon id="box" style="fill-rule:evenodd;clip-rule:evenodd;" points="2,2 5,2 5,3 3,3 3,9 9,9 9,7 10,7 10,10 2,10 "/><polygon id="arrow_13_" style="fill-rule:evenodd;clip-rule:evenodd;" points="6.211,2 10,2 10,5.789 8.579,4.368 6.447,6.5 5.5,5.553 7.632,3.421 "/></g></g><g id="Guides" style="display:none;"></g></svg></a></p>

Panelset adds accessible tabbed panels — just like R Markdown’s
`.tabset` panels — to your xaringan slides. You can activate a panel by
Expand Down
2 changes: 1 addition & 1 deletion docs/panelset/rmarkdown.html
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@


<h1 class="title toc-ignore">Panelset in R Markdown</h1>
<h3 class="subtitle">xaringanExtra 0.6.0.9000</h3>
<h3 class="subtitle">xaringanExtra 0.7.0</h3>
<h4 class="author"><a href="https://pkg.garrickadenbuie.com/xaringanExtra" class="uri">https://pkg.garrickadenbuie.com/xaringanExtra</a></h4>

</div>
Expand Down
3 changes: 2 additions & 1 deletion docs/scribble.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 👩‍🎨 Scribble

#### 📺 [Scribble Demo](https://pkg.garrickadenbuie.com/xaringanExtra/scribble/)
<div class="shareagain" style="min-width:300px;max-width:600px;margin:1em auto;"><iframe src="./scribble//index.html" title="Scribble Demo" width="400" height="300" loading=lazy></iframe></div>
<p align="right"><a href="./scribble/" target="_blank">Scribble Demo<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="12px" height="12px" viewBox="0 0 12 12" style="enable-background:new 0 0 12 12;fill:currentColor;height:1em;width:1em;top:0.18em;position:relative;" xml:space="preserve"><g id="Icons" style="opacity:0.75;"><g id="external"><polygon id="box" style="fill-rule:evenodd;clip-rule:evenodd;" points="2,2 5,2 5,3 3,3 3,9 9,9 9,7 10,7 10,10 2,10 "/><polygon id="arrow_13_" style="fill-rule:evenodd;clip-rule:evenodd;" points="6.211,2 10,2 10,5.789 8.579,4.368 6.447,6.5 5.5,5.553 7.632,3.421 "/></g></g><g id="Guides" style="display:none;"></g></svg></a></p>

Scribble lets you draw on your
[xaringan](https://slides.yihui.org/xaringan) slides. Click the *pencil*
Expand Down
2 changes: 1 addition & 1 deletion docs/scribble/libs/fabric/fabric.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/scribble/libs/xaringanExtra-scribble/scribble.js
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ class Scribble {

startDrawing () {
if (this.noScribble()) return

slideshow.pause()
this.toggleToolbox(true)

Expand Down
3 changes: 2 additions & 1 deletion docs/search.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 🔍 Search

#### 📺 [Search Demo](https://pkg.garrickadenbuie.com/xaringanExtra/search/)
<div class="shareagain" style="min-width:300px;max-width:600px;margin:1em auto;"><iframe src="./search//index.html" title="Search Demo" width="400" height="300" loading=lazy></iframe></div>
<p align="right"><a href="./search/" target="_blank">Search Demo<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="12px" height="12px" viewBox="0 0 12 12" style="enable-background:new 0 0 12 12;fill:currentColor;height:1em;width:1em;top:0.18em;position:relative;" xml:space="preserve"><g id="Icons" style="opacity:0.75;"><g id="external"><polygon id="box" style="fill-rule:evenodd;clip-rule:evenodd;" points="2,2 5,2 5,3 3,3 3,9 9,9 9,7 10,7 10,10 2,10 "/><polygon id="arrow_13_" style="fill-rule:evenodd;clip-rule:evenodd;" points="6.211,2 10,2 10,5.789 8.579,4.368 6.447,6.5 5.5,5.553 7.632,3.421 "/></g></g><g id="Guides" style="display:none;"></g></svg></a></p>

Brings [remark.search](https://github.com/arestivo/remark.search) to
xaringan slides! Call `use_search()` to add **search** to your slides
Expand Down
Loading

0 comments on commit 5ebc3f0

Please sign in to comment.