-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreport.Rmd
86 lines (58 loc) · 1.39 KB
/
report.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
---
title: "Open Case Studies: `r input$title` "
output:
# learnr::tutorial:
# allow_skip: true
html_document:
runtime: shiny_prerendered
self_contained: yes
code_download: yes
highlight: tango
number_sections: no
theme: flatly
toc: yes
toc_float: yes
---
<style>
#TOC {
background: url("`r input$logo`");
background-size: contain;
padding-top: 240px !important;
background-repeat: no-repeat;
}
</style>
<p align="center">
<img width="500" src="`r input$mainimage`">
</p>
#### [source](`r input$mainimage`)
## `r input$header1`
`r input$narrative1`
<p align="center">
<img width="500" src="`r input$image1`">
</p>
#### [source](`r input$image1`)
***
## `r input$header2`
`r input$narrative2`
<p align="center">
<img width="500" src="`r input$image2`">
</p>
#### [source](`r input$image2`)
<p align="center"><iframe width="560" height="315" src="https://www.youtube.com/embed/`r input$video`" frameborder="0" allowfullscreen></iframe> </p>
***
## `r input$header3`
`r input$narrative3`
<!-- <p align="center"> -->
<!-- <img width="500" src="`r input$image3`"> -->
<!-- </p> -->
<!-- #### source: `r input$image3` -->
***
```{r letter-a, echo=FALSE}
# library(learnr)
# question("What number is the letter A in the English alphabet?",
# answer("8"),
# answer("14"),
# answer("1", correct = TRUE),
# answer("23")
# )
```