diff --git a/package-dev-modules/slides/02-setting-up-system/setting-up-system.Rmd b/package-dev-modules/slides/02-setting-up-system/setting-up-system.Rmd index 09cdacc..f787eac 100644 --- a/package-dev-modules/slides/02-setting-up-system/setting-up-system.Rmd +++ b/package-dev-modules/slides/02-setting-up-system/setting-up-system.Rmd @@ -404,14 +404,14 @@ Check if Git is already installed. Run the following in the *Terminal*. .pull-left[ - Check if Git is installed -```{bash} +```{bash, eval = FALSE} which git ``` ] .pull-right[ - Check the version of your Git -```{bash} +```{bash, eval = FALSE} git --version ``` ] @@ -426,7 +426,7 @@ Add speaker notes --- -## Instal Git +## Install Git .your-turn[ If `which git` didn't find Git installed, and if you weren't prompted to install it, run the following in the *Terminal*. @@ -665,14 +665,14 @@ Check if Git is already installed. Run the following in the *Terminal*. .pull-left[ - Check if Git is installed -```{bash} -which git +```{bash, eval = FALSE} +where git ``` ] .pull-right[ - Check the version of your Git -```{bash} +```{bash, eval = FALSE} git --version ``` ] diff --git a/package-dev-modules/slides/02-setting-up-system/setting-up-system.html b/package-dev-modules/slides/02-setting-up-system/setting-up-system.html index 94910ac..44516dd 100644 --- a/package-dev-modules/slides/02-setting-up-system/setting-up-system.html +++ b/package-dev-modules/slides/02-setting-up-system/setting-up-system.html @@ -329,10 +329,6 @@ ```bash which git ``` - -``` -## /usr/bin/git -``` ] .pull-right[ - Check the version of your Git @@ -341,10 +337,6 @@ ```bash git --version ``` - -``` -## git version 2.24.3 (Apple Git-128) -``` ] .tip[ @@ -357,7 +349,7 @@ --- -## Instal Git +## Install Git .your-turn[ If `which git` didn't find Git installed, and if you weren't prompted to install it, run the following in the *Terminal*. @@ -613,11 +605,7 @@ ```bash -which git -``` - -``` -## /usr/bin/git +where git ``` ] .pull-right[ @@ -627,10 +615,6 @@ ```bash git --version ``` - -``` -## git version 2.24.3 (Apple Git-128) -``` ] diff --git a/package-dev-modules/slides/02-setting-up-system/style-xaringanthemer.css b/package-dev-modules/slides/02-setting-up-system/style-xaringanthemer.css index f43acb2..a8bf213 100644 --- a/package-dev-modules/slides/02-setting-up-system/style-xaringanthemer.css +++ b/package-dev-modules/slides/02-setting-up-system/style-xaringanthemer.css @@ -15,7 +15,7 @@ * - xaringan wiki: https://github.com/yihui/xaringan/wiki * - remarkjs wiki: https://github.com/gnab/remark/wiki * - * Version: 0.4.0 + * Version: 0.4.1 * * ------------------------------------------------------- */ @import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro&display=swap); @@ -214,6 +214,36 @@ table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover { color: var(--text-color) !important; } +/* Horizontal alignment of code blocks */ +.remark-slide-content.left pre, +.remark-slide-content.center pre, +.remark-slide-content.right pre { + text-align: start; + width: max-content; + max-width: 100%; +} +.remark-slide-content.left pre, +.remark-slide-content.right pre { + min-width: 50%; + min-width: min(40ch, 100%); +} +.remark-slide-content.center pre { + min-width: 66%; + min-width: min(50ch, 100%); +} +.remark-slide-content.left pre { + margin-left: unset; + margin-right: auto; +} +.remark-slide-content.center pre { + margin-left: auto; + margin-right: auto; +} +.remark-slide-content.right pre { + margin-left: auto; + margin-right: unset; +} + /* Slide Header Background for h1 elements */ .remark-slide-content.header_background > h1 { display: block;