Skip to content

Commit

Permalink
Render bookdown
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 3, 2021
1 parent 3933d6c commit 84425f2
Show file tree
Hide file tree
Showing 14 changed files with 27 additions and 18 deletions.
18 changes: 11 additions & 7 deletions docs/02-chapter_of_course.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ And make plots too:
hist_plot <- hist(iris$Sepal.Length)
```

<img src="resources/images/02-chapter_of_course_files/figure-html/unnamed-chunk-4-1.png" width="672" />
![](resources/images/02-chapter_of_course_files/figure-docx/unnamed-chunk-4-1.png)<!-- -->

You can also save these plots to file:

Expand Down Expand Up @@ -100,7 +100,7 @@ dev.off()

How to include a Google slide. It's simplest to use the `leanbuild` package:

<img src="resources/images/02-chapter_of_course_files/figure-html//1YmwKdIy9BeQ3EShgZhvtb3MgR8P6iDX4DfFD65W_gdQ_gcc4fbee202_0_141.png" title="Major point!! example image" alt="Major point!! example image" style="display: block; margin: auto;" />
![](resources/images/02-chapter_of_course_files/figure-docx//1YmwKdIy9BeQ3EShgZhvtb3MgR8P6iDX4DfFD65W_gdQ_gcc4fbee202_0_141.png)

But if you have the slide or some other image locally downloaded you can also use html like this:

Expand All @@ -116,7 +116,11 @@ You can use `knitr::include_url()` like this:
knitr::include_url("https://www.youtube.com/embed/VOCYL-FNbr0")
```

<iframe src="https://www.youtube.com/embed/VOCYL-FNbr0" width="672" height="400px"></iframe>
```
## PhantomJS not found. You can install it with webshot::install_phantomjs(). If it is installed, please make sure the phantomjs executable can be found via the PATH variable.
```

<iframe src="https://www.youtube.com/embed/VOCYL-FNbr0" width="100%" height="400px"></iframe>

OR this works:

Expand All @@ -126,7 +130,7 @@ OR this works:

This works:

<iframe src="https://www.messiah.edu/download/downloads/id/921/Microaggressions_in_the_Classroom.pdf" width="672" height="800px"></iframe>
<iframe src="https://www.messiah.edu/download/downloads/id/921/Microaggressions_in_the_Classroom.pdf" width="100%" height="800px"></iframe>

Or this:

Expand All @@ -147,7 +151,7 @@ This works:
knitr::include_url("https://yihui.org")
```

<iframe src="https://yihui.org" width="672" height="400px"></iframe>
<iframe src="https://yihui.org" width="100%" height="400px"></iframe>

OR this:

Expand Down Expand Up @@ -197,8 +201,8 @@ sessionInfo()
##
## loaded via a namespace (and not attached):
## [1] knitr_1.33 hms_0.5.3 R6_2.4.1 rlang_0.4.10
## [5] httr_1.4.2 stringr_1.4.0 highr_0.8 tools_4.0.2
## [9] xfun_0.26 jquerylib_0.1.1 htmltools_0.5.0 ellipsis_0.3.1
## [5] stringr_1.4.0 highr_0.8 httr_1.4.2 tools_4.0.2
## [9] webshot_0.5.2 xfun_0.26 htmltools_0.5.0 ellipsis_0.3.1
## [13] yaml_2.2.1 leanbuild_0.1.2 digest_0.6.25 tibble_3.0.3
## [17] lifecycle_1.0.0 crayon_1.3.4 bookdown_0.24 readr_1.4.0
## [21] vctrs_0.3.4 fs_1.5.0 curl_4.3 evaluate_0.14
Expand Down
3 changes: 1 addition & 2 deletions docs/About.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ These credits are based on our [course contributors table guidelines](https://gi
## collate en_US.UTF-8
## ctype en_US.UTF-8
## tz Etc/UTC
## date 2021-10-28
## date 2021-11-03
##
## ─ Packages ───────────────────────────────────────────────────────────────────
## package * version date lib source
Expand All @@ -70,7 +70,6 @@ These credits are based on our [course contributors table guidelines](https://gi
## fs 1.5.0 2020-07-31 [1] RSPM (R 4.0.3)
## glue 1.4.2 2020-08-27 [1] RSPM (R 4.0.3)
## htmltools 0.5.0 2020-06-16 [1] RSPM (R 4.0.1)
## jquerylib 0.1.1 2020-04-30 [1] RSPM (R 4.0.0)
## knitr 1.33 2021-09-29 [1] Github (yihui/knitr@a1052d1)
## lifecycle 1.0.0 2021-02-15 [1] CRAN (R 4.0.2)
## magrittr 1.5 2014-11-22 [1] RSPM (R 4.0.0)
Expand Down
Binary file modified docs/Course_Name.docx
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/about-the-authors.html
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ <h1>About the Authors</h1>
## collate en_US.UTF-8
## ctype en_US.UTF-8
## tz Etc/UTC
## date 2021-10-28
## date 2021-11-03
##
## ─ Packages ───────────────────────────────────────────────────────────────────
## package * version date lib source
Expand Down
2 changes: 1 addition & 1 deletion docs/coursera/About.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ These credits are based on our [course contributors table guidelines](https://gi
## collate en_US.UTF-8
## ctype en_US.UTF-8
## tz Etc/UTC
## date 2021-10-28
## date 2021-11-03
##
## ─ Packages ───────────────────────────────────────────────────────────────────
## package * version date lib source
Expand Down
2 changes: 1 addition & 1 deletion docs/coursera/about-the-authors.html
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ <h1>About the Authors</h1>
## collate en_US.UTF-8
## ctype en_US.UTF-8
## tz Etc/UTC
## date 2021-10-28
## date 2021-11-03
##
## ─ Packages ───────────────────────────────────────────────────────────────────
## package * version date lib source
Expand Down
2 changes: 1 addition & 1 deletion docs/coursera/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ <h1>
</div>
<div id="header">
<h1 class="title">Course Name</h1>
<p class="date"><em>October, 2021</em></p>
<p class="date"><em>November, 2021</em></p>
</div>
<div id="about-this-course" class="section level1 unnumbered">
<h1>About this Course</h1>
Expand Down
5 changes: 4 additions & 1 deletion docs/coursera/index.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
---
title: "Course Name "
date: "October, 2021"
date: "November, 2021"
site: bookdown::bookdown_site
documentclass: book
bibliography: [book.bib, packages.bib]
biblio-style: apalike
link-citations: yes
description: "Description about Course/Book."
favicon: assets/dasl_favicon.ico
output:
bookdown::word_document2:
toc: true
---


Expand Down
2 changes: 1 addition & 1 deletion docs/coursera/search_index.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ <h1>
</div>
<div id="header">
<h1 class="title">Course Name</h1>
<p class="date"><em>October, 2021</em></p>
<p class="date"><em>November, 2021</em></p>
</div>
<div id="about-this-course" class="section level1 unnumbered">
<h1>About this Course</h1>
Expand Down
5 changes: 4 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
---
title: "Course Name "
date: "October, 2021"
date: "November, 2021"
site: bookdown::bookdown_site
documentclass: book
bibliography: [book.bib, packages.bib]
biblio-style: apalike
link-citations: yes
description: "Description about Course/Book."
favicon: assets/dasl_favicon.ico
output:
bookdown::word_document2:
toc: true
---


Expand Down
2 changes: 1 addition & 1 deletion docs/search_index.json

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 84425f2

Please sign in to comment.