You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vignettes/start_checkdown.Rmd
+5-6Lines changed: 5 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ If you don't want to give the possibility of automatically check your question,
98
98
check_question(NULL, options = c("apple", "banana", "bread"), type = "radio")
99
99
```
100
100
101
-
There is also an experimental type of question `in_order`, wheere students need to drag and drop words in the correct order:
101
+
There is also an type of question `in_order`, where students need to swap words over in the correct order:
102
102
103
103
```{r}
104
104
check_question(answer = c("What", "do", "you", "think?"), type = "in_order")
@@ -123,9 +123,9 @@ You can put the question itself within the `check_question()` function using the
123
123
check_question(answer = 42, title = "Put a number from 1 to 100")
124
124
```
125
125
126
-
It is possible to put some markdown markup whithin the `title` argument. Since this argument wraps the form contents with \code{fieldset} tags, you can redefine it appearance with CSS.
126
+
It is possible to put some markdown markup within the `title` argument. Since this argument wraps the form contents with \code{fieldset} tags, you can redefine it appearance with CSS.
127
127
128
-
There is an additional function `insert_score()` that make it possible to add a counter of the correct answers on the page (thanks to [Julieblas](https://github.com/Julieblas) for an idea). It make sense to use this function inline like here:
128
+
There is an additional function `insert_score()` that make it possible to add a counter of the correct answers on the page (thanks to Julieblas for an idea). It make sense to use this function inline like here:
Sometimes it is nice to use images as a question. It also could be useful to insert images in hints. In order to do it you need to use `insert_images()` function, and enumerate the correct answer.
196
196
197
-
```{r, eval=FALSE}
197
+
```{r}
198
198
check_question(answer = 3,
199
199
type = "radio",
200
200
options = insert_images(c("windows.png",
@@ -207,12 +207,11 @@ Arguments `image_width` and `image_height` also except vector of values in case
207
207
208
208
In case you want to use pictures within hints, it is better to use markdown markup for it:
0 commit comments