Rename package to revealjs.ids
Renames the fork so the IDS corporate design edition can be installed
alongside upstream rstudio/revealjs (same pattern as posterdown.ids).
Use revealjs.ids::revealjs_presentation in the R Markdown yaml header.
Changes: DESCRIPTION (Package name, Version -> 0.9.1.9009, Title notes
the IDS edition), R/utils.R package lookups, skeleton + RStudio
template identity (now 'Reveal.js Presentation (IDS CD theme)'),
README usage, GitLab CI render call, tests, examples. Old documents
referring to revealjs::revealjs_presentation need upstream revealjs
or a search/replace of the prefix.
Change-Id: Id3988b2c3fd348faca3c0951223d0b90c01741dc
diff --git a/README.Rmd b/README.Rmd
index 4b4a71e..089e48a 100644
--- a/README.Rmd
+++ b/README.Rmd
@@ -6,7 +6,7 @@
<!-- badges: start -->
[](https://CRAN.R-project.org/package=revealjs)
[](https://github.com/rstudio/revealjs/actions/workflows/R-CMD-check.yaml)
-[`-yellow)](https://github.com/rstudio/revealjs/tree/main/inst/reveal.js-`r revealjs:::revealjs_version()`)
+[`-yellow)](https://github.com/rstudio/revealjs/tree/main/inst/reveal.js-`r revealjs.ids:::revealjs_version()`)
<!-- badges: end -->
## Screenshots
@@ -22,7 +22,7 @@
## Overview
-This repository provides an [R Markdown](http://rmarkdown.rstudio.com) custom format for [reveal.js](https://revealjs.com/) HTML presentations. The packages includes _reveal.js_ library in version `r revealjs:::revealjs_version()`
+This repository provides an [R Markdown](http://rmarkdown.rstudio.com) custom format for [reveal.js](https://revealjs.com/) HTML presentations. The packages includes _reveal.js_ library in version `r revealjs.ids:::revealjs_version()`
You can use this format in R Markdown documents by installing this package as follows:
@@ -37,7 +37,7 @@
title: "Habits"
author: John Doe
date: March 22, 2005
-output: revealjs::revealjs_presentation
+output: revealjs.ids::revealjs_presentation
---
# In the morning
@@ -120,7 +120,7 @@
``` yaml
---
output:
- revealjs::revealjs_presentation:
+ revealjs.ids::revealjs_presentation:
incremental: true
---
```
@@ -177,7 +177,7 @@
There are several options that control the appearance of revealjs presentations:
-- `theme` specifies the theme to use for the presentation (available themes are `r knitr::combine_words(setdiff(revealjs:::revealjs_themes(), "default"), before = '"', and = " or ")`
+- `theme` specifies the theme to use for the presentation (available themes are `r knitr::combine_words(setdiff(revealjs.ids:::revealjs_themes(), "default"), before = '"', and = " or ")`
- `highlight` specifies the syntax highlighting style. Supported styles include `r knitr::combine_words(rmarkdown:::highlighters(), before = '"', and = " or ")`. Pass null to prevent syntax highlighting.
@@ -187,7 +187,7 @@
``` yaml
output:
- revealjs::revealjs_presentation:
+ revealjs.ids::revealjs_presentation:
theme: sky
highlight: pygments
center: true
@@ -199,7 +199,7 @@
You can use the `transition` and `background_transition` options to specify the global default slide transition style:
-- `transition` specifies the visual effect when moving between slides. Available transitions are `r (trans <- knitr::combine_words(setdiff(revealjs:::revealjs_transitions(), "default"), before = '"', and = " or "))`.
+- `transition` specifies the visual effect when moving between slides. Available transitions are `r (trans <- knitr::combine_words(setdiff(revealjs.ids:::revealjs_transitions(), "default"), before = '"', and = " or "))`.
- `background_transition` specifies the background transition effect when moving between full page slides. Available transitions are `r trans`
@@ -207,7 +207,7 @@
``` yaml
output:
- revealjs::revealjs_presentation:
+ revealjs.ids::revealjs_presentation:
transition: fade
background_transition: slide
```
@@ -278,7 +278,7 @@
---
title: "Habits"
output:
- revealjs::revealjs_presentation:
+ revealjs.ids::revealjs_presentation:
self_contained: false
reveal_options:
slideNumber: true
@@ -304,7 +304,7 @@
---
title: "Habits"
output:
- revealjs::revealjs_presentation:
+ revealjs.ids::revealjs_presentation:
fig_width: 7
fig_height: 6
fig_caption: true
@@ -349,7 +349,7 @@
---
title: "Habits"
output:
- revealjs::revealjs_presentation:
+ revealjs.ids::revealjs_presentation:
mathjax: local
self_contained: false
---
@@ -361,7 +361,7 @@
---
title: "Habits"
output:
- revealjs::revealjs_presentation:
+ revealjs.ids::revealjs_presentation:
mathjax: "http://example.com/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
---
```
@@ -372,7 +372,7 @@
---
title: "Habits"
output:
- revealjs::revealjs_presentation:
+ revealjs.ids::revealjs_presentation:
mathjax: null
---
```
@@ -385,7 +385,7 @@
---
title: "Habits"
output:
- revealjs::revealjs_presentation:
+ revealjs.ids::revealjs_presentation:
self_contained: false
---
```
@@ -398,7 +398,7 @@
---
title: "Habits"
output:
- revealjs::revealjs_presentation:
+ revealjs.ids::revealjs_presentation:
self_contained: false
lib_dir: libs
---
@@ -422,7 +422,7 @@
---
title: "Habits"
output:
- revealjs::revealjs_presentation:
+ revealjs.ids::revealjs_presentation:
self_contained: false
reveal_plugins: ["notes", "search"]
---
@@ -434,7 +434,7 @@
---
title: "Habits"
output:
- revealjs::revealjs_presentation:
+ revealjs.ids::revealjs_presentation:
self_contained: false
reveal_plugins: ["chalkboard", "menu"]
reveal_options:
@@ -487,7 +487,7 @@
---
title: "Habits"
output:
- revealjs::revealjs_presentation:
+ revealjs.ids::revealjs_presentation:
includes:
in_header: header.html
before_body: doc_prefix.html
@@ -503,7 +503,7 @@
---
title: "Habits"
output:
- revealjs::revealjs_presentation:
+ revealjs.ids::revealjs_presentation:
pandoc_args: [
"--title-prefix", "Foo",
"--id-prefix", "Bar"
@@ -520,7 +520,7 @@
**\_output.yaml**
``` yaml
-revealjs::revealjs_presentation:
+revealjs.ids::revealjs_presentation:
theme: sky
transition: fade
highlight: pygments